0

X=6 print (6) print ("6")

will they print the same thing?

24th Feb 2017, 8:37 AM
Oluwafisayo Adeniyi
3 ответов
+ 1
output same but difference is in the way they will be stored
24th Feb 2017, 9:29 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
0
outcome would be 6 6 but if you used them in an if statement, one would read true and one would read false. if x == 6: True if x == "6": False
24th Feb 2017, 10:14 AM
LordHill
LordHill - avatar