0

Whats wrong in this code?

Sooo... I wanted to make a password reader where the user types the word "password" and it says that the pass is right, but it's always saying that it is wrong and i dont know why! https://code.sololearn.com/c7QnityP4t6R/?ref=app

18th Jul 2019, 3:21 AM
Diogo H.
2 Answers
+ 1
Ohhhh got it, so the equals() only works if both are strings. Thanks you so much!
18th Jul 2019, 3:32 AM
Diogo H.