+ 1
Please why does this code return l instead of F. And I compared that if X is assigned to 5%5 ......isn't this correct to compare
https://code.sololearn.com/WpkWo3b192mQ/?ref=app please help me by explaining why it isn't correct and how to make a comparison of if something is assigned to this, do this.
2 Answers
+ 10
By using = you assign a value to something.
By using == you check if something is equal to something else.
+ 2
not a web expert but...
in ur if statement use ==. not =