LU05.L08: Carry on?

def main_condition():
    carry_on = input('Carry on?\n')
    while carry_on != 'no':
        carry_on = input('Carry on?\n')
 
 
def main_infinite():
    while True:
        carry_on = input('Carry on?\n')
        if carry_on == 'no':
            break
 
 
if __name__ == '__main__':
    main_condition()
    main_infinite()

Kevin Maurizi, Marcel Suter

  • modul/m319/learningunits/lu05/loesungen/carryon.txt
  • Last modified: 2023/11/13 08:56
  • by 127.0.0.1