import time as t
def main():
a = "hello word"
for i in a:
t.sleep(0.1)
print(i,end=" ")
main()
prints each word without stopping the code
import time as t
def main():
a = "hello word"
for i in a:
t.sleep(0.1)
print(i,end=" ")
main()
prints each word without stopping the code