#2
lwy2xxj2019-07-19 10:18
|
>>> # month.py
months=" JanFebMarAprMayJunJulAugSep0ctNovDec"
n= input("请输入月份数(1-12):")
pos=(int(n)-1) * 3
monthAbbrev-months [pos :pos+3]
print("月份简写是 "+monthAbbrev+". ")
SyntaxError: multiple statements found while compiling a single statement