TDT4109/Exercise 4 - Inspera/15.py

5 lines
130 B
Python
Raw Permalink Normal View History

2020-10-01 12:05:45 +02:00
def spam_with_questions(question) -> str:
while True:
answer = input(question).lower()
if answer == 'stopp':
break