Nov-06-2019, 07:58 PM
Hi, i'm learning Python, but there are some places where I have problems. I would like to ban the use of Turkish characters. But Somewhere I'm making a mistake. How can I solve this problem?
My code :
Error pic :
[url=]Error Picture[/url]
My code :
tr_characters = "öçşüğıÖÇŞÜĞİ" password = input("Please type in your password : ") for control in password: if control in tr_characters: print("You can't use Turkish characters!") break else: print("Great password created") break
Error pic :
[url=]Error Picture[/url]