LU06.L05: Checking the age

def main():
    age = input('How old are you?\n')
    if age >= 0 and age <= 120:
        print('OK')
    else:
        print('Impossible!')
 
 
if __name__ == '__main__':
    main()
  • modul/archiv/m319python/learningunits/lu06/loesungen/checktheage.txt
  • Zuletzt geändert: 2024/03/28 14:07
  • von 127.0.0.1