0

Where is the error of line 2?

I just can't find it... And have tried all I could figure out... But keeps saying syntax error in line 2... https://code.sololearn.com/cPm2yrAZ9uZj/?ref=app

2nd Jan 2022, 2:03 PM
Laura Melguizo
Laura Melguizo - avatar
2 Respostas
+ 1
your edited code: print('I\'m learning Python!') print('''A number enclosed in double quotes: "42"''')
2nd Jan 2022, 2:11 PM
NEZ
NEZ - avatar
+ 4
You need to escape the double quotes surrounding the number 42 the way you escaped the single quote at line 1.
2nd Jan 2022, 2:10 PM
Ipang