i wanted while loop to work when there is spaces between character but it didn't.
a= input("...") x = [" "] while a in : print("not allowed")
a= input("...") x = [" "] while " " in a: print("not allowed")
2.1m questions
2.1m answers
60 comments
56.9k users