LU05.L05: Checking the age

def main():
    age = int(input('How old are you?\n'))
    if age >= 0 and age <= 120:
        print('OK')
    else:
        print('Impossible!')
 
 
if __name__ == '__main__':
    main()

Marcel Suter, Kevin Maurizi

  • modul/m319/learningunits/lu05/loesungen/checktheage.txt
  • Zuletzt geändert: 2024/03/28 14:07
  • von 127.0.0.1