Hello I'm trying to make a python script to loop text and toggle through it. I'm able to get python to toggle through the text once but what I cant get it to do is to keep toggling through the text. After it toggles through the text once I get a message that says
Traceback (most recent call last): File "test.py", line 24, in hello() File "test.py", line 22, in hello hello() TypeError: 'str' object is not callable
import time, sys, os
from colorama import init
from termcolor import colored
def hello():
os.system('cls')
init()
hello = '''Hello!'''
print(colored(hello,'green',))
time.sleep(1)
os.system('cls')
print(colored(hello,'blue',))
time.sleep(1)
os.system('cls')
print(colored(hello,'yellow',))
time.sleep(1)
os.system('cls')
hello()
hello()