Project Level 1: Beginner
This project is designed for beginner learners who are still learning and practicing Python fundamentals.
Project Description
Create a program that prompts the user to enter their mood (Happy, Stressed, or Tired) and display a message depending on the moood submitted by the user.
Expected Output
(1) The program prompts the user to enter their name (e.g., Ardit)
(2) The program greets the user with “Hi. [name]! How are you feeling today? and displays the mood options.
(3) The user chooses a number (1, 2, or 3).
(4) If the user is happpy, the program displays “That’s great, [name]! Keep streading your joy“
(5) If the user is stressed, the program displays “Take a deep breath, [name]. You're doing amazing!“
(6) If the user is tired, the program displays “Rest up, [name]. Tomorrow is a fresh start!“
Learning Benefits
Input Handling:
You will practice getting user input and responding based on their choices.Conditional Statements:
Learn how to useif-elif-else
to make decisions in your program.String Manipulation:
Practice combining strings to create personalized outputs dynamically.
Prerequisites
Required Libraries: No libraries are needed for this project.
Required Files: No files are needed for this project.
IDE: You can use any IDE on your computer to code the project.
Danger Zone
Once you code the project, compare it with our two solutions given in the button below.