Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
In an if, elif, else chain, how many of the parts run? | StemPy Lab
Quizzes
/
In an if, elif, else chain, how many of the parts run?
Python Programming
Easy
Middle Stage (6–8)
High School (9–10)
High School (11–12)
Undergraduate
General
Python Basics › Conditionals: if, elif, else
Created by
StemPy Lab
In an if, elif, else chain, how many of the parts run?
At least two
All of them
Exactly one
None of them
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← x = 10. The program has: if x > 5: print("big"), and then print("end") with no spaces at the start. What does it show?
A student wants to allow everyone aged 18 and above, but writes if age > 18:. Who is refused by mistake? →
More on
Python Basics › Conditionals: if, elif, else
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
Write a simpler condition, without a not in front of a bracket, that is the same as each of these…
Medium
At a club door the guard asks the age first.
Medium
This program should say a vowel only for the letters a, e, i, o and u.
Medium
The ticket price rules are: under 5 free, under 13 pays 50, under 60 pays 100, and the rest pay 70.
Medium
All problems on this topic →