8th Aug 2023, 1:28 PM
Jyoti
Jyoti - avatar
4 Antworten
+ 3
pass is a resrved word in Python - it has a special meaning so it cannot be used as a variable name. Similarly, you would not be able to use key words like “if” or “for” as names.
8th Aug 2023, 1:33 PM
Dan
+ 3
There are several issues - working through one by one, take a look at the syntax for finding the length of an object. It should be len(name) - in this case len(passw). There is also an error in your comparison operator (<=).
8th Aug 2023, 1:48 PM
Dan
+ 1
@dam now I have change the variable name but it show error in line 5
8th Aug 2023, 1:35 PM
Jyoti
Jyoti - avatar
+ 1
@dam now check...
8th Aug 2023, 1:59 PM
Jyoti
Jyoti - avatar