Exercises
- Output Hello World
- Output 5 Favorites (color, movies, food, apps, programming languages, etc.)
- Ask for user's name and output a greeting with the given name.
- Ask for a number and output the square (power of 2)
- Convert a given Fahrenheit temperature to Celsius.
Possible Solutions
Output Hello World
Output 5 Favorites
- Each print statement on different lines
- One print statement using \n character
Ask for user's name and output a greeting with the given name.
- Remember to include spaces for concatenation
Ask for a number and output the square (power of 2)
Convert a given Fahrenheit temperature to Celsius.
- Remember to convert the input into a number