ython 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> holiday=input("請輸入節日")
To_name=input("請輸入收件人的名字:")
Fr_name=input("請輸入送件人的姓名:")
print("——*——*——*——*——*——*——*——*——*——*——*")
print("——*——*——*——*——*——*——*——*——*——*——*")
print("")
print("")
print(" 節 日 祝 福")
print()
print()
print(To_name+":")
print()
print()
print()
print(" 祝您"+holiday+"快樂!")
print()
print()
print(" " +Fr_name)
print()
print()
print("——*——*——*——*——*——*——*——*——*——*——*")
print("——*——*——*——*——*——*——*——*——*——*——*")
SyntaxError: multiple statements found while compiling a single statement
>>>
=================== RESTART: E:/大學計算機材料/Python/第一課/節日快樂.py ===================
請輸入節日中秋節
請輸入收件人的名字:王锟
請輸入送件人的姓名:王锟
——*——*——*——*——*——*——*——*——*——*——*
——*——*——*——*——*——*——*——*——*——*——*
節 日 祝 福
王锟:
祝您中秋節快樂!
王锟
——*——*——*——*——*——*——*——*——*——*——*
——*——*——*——*——*——*——*——*——*——*——*
>>>