import random # For the AI's "randomness" def super_ai_9000(input_text): """The AI's brilliant response generator.""" responses = [ "Banana!", "Did someone say potato?", "Beep boop... processing... error 404: brain not found", "Is that a squirrel?" ] return random.choice(responses) # Choose a random response def chat_interface(): """The main chat loop.""" print("Welcome to Super AI 9000! (The one that runs on AA batteries)") while True: user_input = input("You: ") if user_input.lower() == "exit": break # Exit the chat ai_response = super_ai_9000(user_input) # Get the AI's response print("Super AI 9000:", ai_response) # Display the response if __name__ == "__main__": chat_interface()