Please write a python program that outputs a random positive affirmation. Please provide…
- User
Please write a python program that outputs a random positive affirmation. Please provide 5 default affirmations to start off with
Assistant
Certainly! Below is a Python program that outputs a random positive affirmation from a list of five default affirmations.
import random def get_random_affirmation(): affirmations = [ "You are capable of achieving great things.", "Believe in yourself and all that you are.", "You have the power to make positive changes in your life.", "Every day is a new opportunity to grow and learn.", "Your potential is limitless." ] random_affirmation = random.choice(affirmations) return random_affirmation if __name__ == "__main__": print("Your random positive affirmation for today is:") print(get_random_affirmation())
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.