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
  • Last modified: 2023/11/13 08:56
  • by 127.0.0.1