Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] web/email now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!

Paste

Pasted as Python by curry ( 4 years ago )
# 西元、民國換算器

print('西元、民國年分換算器\ncurryrice @2021/01/08\n')

year = int(input('請輸入你的西元年生日年份: '))

# 以下為擴充內容
if year < 1911:
    print('你的民國生日年份是 民國前', 1911-year, '年')
else:
# 以上為擴充內容
    print('你的民國生日年份是 民國', year-1911, '年')

 

Revise this Paste

Children: 114479
Your Name: Code Language: