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
  • Zuletzt geändert: 2024/03/28 14:07
  • von 127.0.0.1