Question · Python course · Module 1: Python Basics
Print function
What will be displayed: print(f'Temperature: {30}°C')?
Answer options
- Temperature: {30}°C
- Temperature: 30°C
- f'Temperature: 30°C'
- Syntax error
Show the answer
Correct answer:
- Temperature: 30°C