unexpected EOF while prasing

My code is:

print ("What is your name?")
firstname= input()

print ("What is your surname?")
surname= input()

print ("Hello,",firstname,surname)

print ("Your Initials are:",firstname[0],surname[0])

fullname= firstname +" "+ surname
print (fullname)

print ("Your Username is",surname[0],surname[1],surmame[2],firstname[0],str(len(surname))

When i run it I get an "EOF while parsing" error. Can anyone fix it?

728x90

0 Answers unexpected EOF while prasing