Checking if any character in a string is alphanumeric

后端 未结 0 979
别那么骄傲
别那么骄傲 2021-02-07 17:36

I want to check if any character in a string is alphanumeric. I wrote the following code for that and it\'s working fine:

s = input()

temp = any(i.isalnum() fo         


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