import re password = input("Please type in your password : ") tr_characters = re.search("ö|ç|ş|ü|ğ|ı|Ö|Ç|Ş|Ü|Ğ|İ", password) for control in password: if tr_characters: print("You can't use Turkish characters!") break else: print("Great password created") break
Turkish Character Prohibition
Turkish Character Prohibition
|
|
Messages In This Thread |
Turkish Character Prohibition - by JgKSuperstar - Nov-06-2019, 07:58 PM
RE: Turkish Character Prohibition - by Cryptus - Nov-06-2019, 09:29 PM
RE: Turkish Character Prohibition - by JgKSuperstar - Nov-06-2019, 10:05 PM
RE: Turkish Character Prohibition - by buran - Nov-06-2019, 09:33 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
[solved] unexpected character after line continuation character | paul18fr | 4 | 3,614 |
Jun-22-2021, 03:22 PM Last Post: deanhystad |
|
SyntaxError: unexpected character after line continuation character | siteshkumar | 2 | 3,282 |
Jul-13-2020, 07:05 PM Last Post: snippsat |
|
how can i handle "expected a character " type error , when I input no character | vivekagrey | 2 | 2,826 |
Jan-05-2020, 11:50 AM Last Post: vivekagrey |
|
Replace changing string including uppercase character with lowercase character | silfer | 11 | 6,394 |
Mar-25-2019, 12:54 PM Last Post: silfer |
|
SyntaxError: unexpected character after line continuation character | Saka | 2 | 18,705 |
Sep-26-2017, 09:34 AM Last Post: Saka |
Users browsing this thread: 1 Guest(s)