how to use while loop to print 'not allowed' message when there is space between characters

前端 未结 0 1791
囚心锁ツ
囚心锁ツ 2021-02-05 10:44

i wanted while loop to work when there is spaces between character but it didn\'t.

a= input("...")
x = [" "]

while a in :
  print("not a         


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