0
Code in "line 15" is not working why? I tried to add special characters and the output is invalid syntax for special characters
5 Respostas
+ 1
The condition doesn't make any sense. To make the condition true, the length of password must be smaller than 5 and greater than 10. It's impossible.
+ 1
Somil Khandelwal it's because your condition is wrong. You're giving the wrong output for the right input. You should check if the password is bigger than 10, ans smaller than 5 (in terms of lenght), and not the opposite.
0
I changed the code but still not working bro
0
It seems to be working fine for me. Could you give more info about what you want to achieve ? Also, try to give some examples of expected output.
0
Example
If the password lengt his less than 5 and greater than 10
Then the output is
Min length 5 max length 10