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

  • de/modul/m319/learningunits/lu05/loesungen/carryon.txt
  • Zuletzt geändert: 2025/06/23 07:45
  • von msuter