Python по умолчанию ввод
# Python 3:
age = input('Enter your age: ') or 18
# Older versions:
age = int(raw_input('Enter your age: ') or 18)
garzj
# Python 3:
age = input('Enter your age: ') or 18
# Older versions:
age = int(raw_input('Enter your age: ') or 18)