Home > other >  Phthon for help... A novice
Phthon for help... A novice

Time:09-27

Zz this exactly is what wrong

CodePudding user response:

I know what is wrong...

CodePudding user response:

Print (" -- -- -- -- -- -- - the registration -- -- -- -- -- -- -- -- -- -- - ")
A=input (" please enter your registered user name: ")
B=int (input (" please enter the password "))
Print (" registration ")
Print (" -- -- -- -- -- -- -- -- on -- -- -- -- -- -- -- -- -- -- ")
C=input (" please enter your login user name: ")
D=int (input (" please enter your login password "))
If (a==c) and (b==d)) :
Print (" landing successful ")
The else:
Print (" login failed!" )

CodePudding user response:

So I missed the parentheses instead, careful next time, or you really can't do this industry

CodePudding user response:

s native place reference 3 floor response:
change that I missed the brackets, careful next time, otherwise, really can't do this industry


Himself will solve the problem is great, error information has been put forward that line made a mistake, the bank without error, can check out two lines of code,

Line 7 fewer parenthesis

Line 8, can need not brackets
 if a and b===c=d: 


Additional line 1, if can register or so - symmetry, can look comfortable many

CodePudding user response:

Thank you for your help!
  • Related