0
Syntex erroe
A = "good haroon " B = "boy haroon" print (A + B) C = input("goodness of haroon") print ("good haroon boy haroon" == "good haroon boy haroon") if A + B = "good haroon boy haroon": print ("hahah nice lie") I am getting syntex error at line 6 (if statement line and it is indicating at B)
3 Réponses
+ 1
use ==
= is assignment.
+ 1
How about using == instead of just = ?
0
Thank you. It worked
But i have question. Isent the answer of bolean comparison is either True or Flase?