I am making a basic bot in Python that you can ask it questions and it will respond. But when I was testing the code (in a 'for' loop), I wanted it to print the result to me word by word, but it prints out the output letter by letter. How do I get it to print word by word? Here's the code;
print("Welcome to your personal bot assistant.")
question = input('''Ask me anything you want to know
>>> ''')
for i in question:
print(i)
If I input 'hello' for example, it prints out;
h
e
l
l
o