hi you were suppose to do it something like this

from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer

karel = ChatBot("Karel the Dog")
trainer = ListTrainer(karel)

#Sample training conversation for the chatbot
#Type one of these greetings into the console to see the chatbot respond
greetings = ["Hello, how are you?",
			"I'm fine, how are you?",
			"Good! I can't complain",
			"Glad to hear it!"]

#Train the chatbot to respond to the greetings
trainer.train(greetings)

print("Hi! Welcome to Karelchat")
print("To exit, please type exit")
print("How are you today?")


#Create a while loop to get user input until they stop the conversation
while True:
    response = input()
    if response == "exit":
        break
    karel_response = karel.get_response(response)
    print(karel_response)
print("Conversation terminated")


from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer

# create chatbot
bot = ChatBot('MyChatBot')

# create trainer
trainer = ListTrainer(bot)

# create lists for greetings, jokes, and stories
greetings = ['Hello!', 'Hi there!', 'Hey, how can I help?']
jokes = ['Why did the math book look sad? Because it had too many problems.', 'What do you call an alligator in a vest? An investigator.', 'Why did the bicycle fall over? Because it was two-tired.']
stories = ['Once upon a time, in a faraway land, there was a magical unicorn…', 'In a small village, there lived a wise old owl who was known for giving great advice…', 'On a dark and stormy night, a group of friends gathered around a campfire to tell spooky stories…']

# train the chatbot with the lists
trainer.train(greetings)
trainer.train(jokes)
trainer.train(stories)

# add the joke about Sonic voice actor
jokes.append('Did you hear about the Sonic the Hedgehog voice actor who also played two other characters in the movie? He really knows how to hedge his bets.')

# retrain the chatbot with the updated jokes list
trainer.train(jokes)

# start conversation with the user
print("Welcome to MyChatBot. How can I assist you today?")
while True:
    user_input = input("You: ")
    if user_input.lower() == 'exit':
        print("Goodbye!")
        break
    response = bot.get_response(user_input)
    print("ChatBot:", response)
from chatterbot import ChatBot
#chatterbot also comes with a Corpus Trainer, which includes prebuilt conversations
from chatterbot.trainers import ChatterBotCorpusTrainer

karel = ChatBot("Karel the Dog")

#This enables the trainer to train the karel chatbot
trainer = ChatterBotCorpusTrainer(karel)


#Train the chatbot to respond to the a series of english greetings and conversations
trainer.train("chatterbot.corpus.english.greetings")
trainer.train("chatterbot.corpus.english.conversations")

print("Hi! Welcome to Karelchat with Corpus Training")
print("To exit, please type exit")
name = input("Enter your name: ")
print("How are you today " + name + "?")


#Create a while loop to get user input until they stop the conversation
while True:
    response = input(name + ": ")
    if response == "exit":
        break
    karel_response = karel.get_response(response)
    print("Bot: " + str(karel_response))
print("Conversation terminated")

there are all examples HELP ME OUT HERE