0
Print error
print("2" + "2") print(1 + '2 + 3 + '4') There is an error in second line, however, the output should print the first line,.ie., 22. is there something that I'm missing?
5 ответов
+ 3
yes::
print(1+'2+3+'4')
you opened a quote before the 2 as '2 and never closed it
+ 1
You're missing ' mark in your second print statement.
+ 1
sree nidhi - first line works fine.
https://code.sololearn.com/cfHhI3eY735X/?ref=app
0
true, shouldn't the output for first print statement be executed though?
0
yeah cool! I expected it to interpret the first line and print and then throw error only for the second line!
thanks guys!