0

what is the code? on this code file0.py:12: SyntaxWarning: "is not" with a literal. Did you mean "!="? print (120 is not y)

file0.py:12: SyntaxWarning: "is not" with a literal. Did you mean "!="? print (120 is not y)

24th Nov 2022, 12:43 PM
julyan
julyan - avatar
2 odpowiedzi
+ 5
julyan , plaese link your code here, so that we can see what the issue is.
24th Nov 2022, 6:38 PM
Lothar
Lothar - avatar
+ 1
you can do print(120 != y)
24th Nov 2022, 12:50 PM
Giannis
Giannis - avatar