+ 1
Hi guys I hope you do well. Because of some problems I couldn't keep my training in coding. But now I want to start from buttom
And I need your help.could you plz help me in this code?? https://code.sololearn.com/W4n4PUZebqCH/?ref=app In this code there is a problem because my function do the work twice but I don't want to be in this way
3 Respostas
+ 6
Sina
It’s super simple, and with time and practice, you’ll understand which to use when. = is used for assinging things. like x = 5. You’re telling the program that the variable x is equal to 5. The == compares two things. For example, 5 == 5 will return true, because 5 is equal to 5
+ 8
Logical Error in line 20 & 24 , u are using assignment operator instead of comparison....in both the if statements, use == instead of = 👍👍
+ 1
Aman thank you so much for ansewring my question but I can't underestand the difference between = and == can you fill me in??plz