Post

Usama Mohsin
Usama Mohsin@iUsamaMohsin·
@PythonPr incorrect password, because we stored a str in password variable and not an integer which is given in the if statement so '123' != 123 that is why incorrect password.
English
0
0
3
152
GHOSD
GHOSD@GHOSD__·
@PythonPr Password needs to be converted into a integer becuase its currently seen as a string
English
0
0
2
180
Kylo Ren
Kylo Ren@KyloRen25644566·
@PythonPr "123" interpreted as string and not as actual numeric value when Python execute- so output is " incorrect password" If password = 123, then output will be "logged in".
English
0
0
0
89
Spear.
Spear.@thenextmukhwana·
@PythonPr Call the int function to change the string into integer.
English
0
0
0
95
Gopuff
Gopuff@gopuff·
No middleman means no markups. Add $0 delivery on your first order and 100s of deals, and staying on the couch starts to look financially responsible.
English
0
7
211
597.9K
Paylaş