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