Skip to content

Instantly share code, notes, and snippets.

@seaniap
Last active June 29, 2018 03:11
movieLevel-2
age = int(input("請輸入你的年齡: ").strip())
if(age <18):
print("您目前年齡為{}歲,可以觀賞『普遍級』、『保護級』、『輔12級』與『輔15級』電影,但由您未滿18歲,不得觀賞『限制級』電影".format(age))
else:
print("您目前年齡為{}歲,可以觀賞任何電影".format(age))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment