19th Oct 2019, 8:32 AM
sujay simha
sujay simha - avatar
7 ответов
+ 3
thanks a lot for your answer guys, but it dosen't work
19th Oct 2019, 8:57 AM
sujay simha
sujay simha - avatar
+ 3
thanks a lot, it worked!
19th Oct 2019, 10:22 AM
sujay simha
sujay simha - avatar
+ 2
in the last part indent the else block to work with the second if statement. if q > 4 or q < 11: if not m and not n and not o and not p: print('password is not valid') else: print('password is valid')
19th Oct 2019, 8:43 AM
Bahhaⵣ
Bahhaⵣ - avatar
+ 2
bahha, if I enter a two letter word like dt, it shows that it is valid
19th Oct 2019, 9:04 AM
sujay simha
sujay simha - avatar
+ 2
oh! I see. change : if q > 4 or q < 11: to : if q > 4 and q < 11:
19th Oct 2019, 9:09 AM
Bahhaⵣ
Bahhaⵣ - avatar
+ 1
well depends on what the code is supposed to do ...
19th Oct 2019, 8:44 AM
Anton Böhler
Anton Böhler - avatar
+ 1
I tried it, it does work. what exactly is the problem you're getting.?
19th Oct 2019, 8:58 AM
Bahhaⵣ
Bahhaⵣ - avatar