Jan-30-2024, 11:02 PM
I am meant to rewrite the end of the code.
The original code:
The original code:
#!/usr/bin/python # Don't change the variables here - do it in the print statement Title = "Berserk" Author = "Kentaro Miura" prototypePremiereYear = 1988 print("The manga, \"" + Title + ",\" was written by " + Author + " and was premiered as a prototype in the year " + (prototypePremiereYear)My solution:
#!/usr/bin/python # Don't change the variables here - do it in the print statement Title = "Berserk" Author = "Kentaro Miura" prototypePremiereYear = 1988 print("The manga, \"" + Title + ",\" was written by " + Author + " and was premiered as a prototype in the year " + (str(prototypePremiereYear))The output:
Error:offsec@python-scripting:~$ python typeCasting.py
File "typeCasting.py", line 9
^
SyntaxError: unexpected EOF while parsing
Any guidance would be appreciated