Show pagesourceOld revisionsBacklinksExport to PDFMoodle_LinkBack to top Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer Reddit TeamsRecent ChangesSend via e-MailPrintMoodle_LinkPermalink × 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() M319-LU05 Kevin Maurizi, Marcel Suter modul/m319/learningunits/lu05/loesungen/carryon.txt Last modified: 2023/11/13 08:56by 127.0.0.1