Loading...
Loading...
Test your knowledge of Python fundamentals
Let's check your understanding of variables, strings, numbers, input, and type conversion!
1. What does print("Hello") output?
2. Which variable name is valid in Python?
3. What is the result of 10 // 3?
4. What is the result of "Hello" + " " + "World"?
5. What does int("42") + 8 return?
6. Which of these is a float?
7. What does input() always return?
8. What is the result of 2 3?**
9. Which method converts a string to uppercase?
**10. What is the value of (5 + 3) * 2?**
11. Which operator gives the remainder of division?
12. What does f"Age: {25}" produce?