I have a small problem with my programme, where I have a small ToDo list code. Namely, I want the while loop to integrate the other todos and the result looks like this:
□ task1(I)□ task2(II)□ task3(III)
The current code:
info = print("!: Ausgabe mit Stop beenden")todo = input("Todo: ")prio = input("Priorität: ")request = input("Noch eine Todo? y/n")while request == "y": todo = input("Todo: ") prio = input("Priorität: ") request = input("Noch eine Todo? y/n")print("-----------------------------------")print("□"+todo+"("+prio+")")print("-----------------------------------")
I tried to create other variables myself, but that didn't work so well, because only this variable from the while loop is integrated and others (if others are to be registered) are not.