+ 2
This code is correct, isn't it?
7 Respostas
+ 3
thanks a lot for your answer guys, but it dosen't work
+ 3
thanks a lot, it worked!
+ 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')
+ 2
bahha, if I enter a two letter word like dt, it shows that it is valid
+ 2
oh! I see.
change :
if q > 4 or q < 11:
to :
if q > 4 and q < 11:
+ 1
well depends on what the code is supposed to do ...
+ 1
I tried it, it does work. what exactly is the problem you're getting.?