age = 3
if age >= 18:
print(‘your age is‘, age)
elif age >= 10:
print(‘your age is‘, age)
else: print(‘your age is‘, age)
s = input(‘birth: ‘)
birth = int(s)
if birth < 2000:
print(‘00前‘)
else:
print(‘00后‘)
时间: 2024-12-17 22:18:23