Beginning Python Programming
Makzan, 2020 April.
while True:
value = input("Please input a to-do task, or 'q' to quit: ")
if value == "q":
break
tasks = []
while True:
value = input("Please input a to-do task, or 'q' to quit: ")
if value == "q":
break
tasks.append(value)
print(tasks)
tasks = []
while True:
value = input("Please input a to-do task, or 'q' to quit: ")
if value == "q":
break
if len(value) > 0:
tasks.append(value)
print(tasks)
tasks = []
while True:
value = input("Please input a to-do task, or 'q' to quit: ")
if value == "q":
break
tasks.append(value)
print(", ".join(tasks))
tasks = []
while True:
value = input("Please input a to-do task, or 'q' to quit: ")
if value == "q":
break
tasks.append(value)
print("\n".join(tasks))