Python Quiz
Python Control Statements helps us to increase our knowledge
1 / 5
1. Which statement is used to terminate a loop in Python?
2 / 5
2. What is the output of the following code?
x = 10 if x > 5: print("Greater") else: print("Lesser")
3 / 5
3.Which of the following is used to start an 'if' block in Python?
4 / 5
4. Which control statement is used to skip the current iteration of a loop in Python?
5 / 5
5. What is the correct syntax to check if a number is even or odd in Python?
Your score is
WhatsApp us