赞美时出现意外的EOF

时间:2018-11-19 14:27:35

标签: storage username

我的代码是:

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))

当我运行它时,出现“解析时EOF”错误。谁能修复它?

0 个答案:

没有答案