Untitled
Anonymous
plain_text
08/17/2023 5:03 AM
352 B
9
Indexable
import random
responses = [
"Hello, how can I help you?",
"I'm here to assist you.",
"What can I do for you today?",
"Feel free to ask me anything.",
]
user_input = input("You: ")
ai_response = random.choice(responses)
print("AI:", ai_response)Editor is loading...