how can i make an input in python that only accepts capitalized letters and numbers

后端 未结 0 1001
深忆病人
深忆病人 2020-11-29 20:32

basically i need to get a variable as a user input (ch) that can only contain capitalized letters and numbers in form of a string of course . i tried to capitalize the input

相关标签:
回答
  • 消灭零回复
提交回复
热议问题