
Python If Else Statements
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Easy
Ken Mattern
Used 6+ times
FREE Resource
Student preview

14 questions
Show all answers
1.
FLASHCARD QUESTION
Front
The second part of if, that is executed when the condition is false
Back
else
2.
FLASHCARD QUESTION
Front
Which statement will check to see if a is equal to b?
Back
if a == b:
3.
FLASHCARD QUESTION
Front
What is the output? Options: more than 7, more than 23, spam, 7
Back
more than 7
4.
FLASHCARD QUESTION
Front
Pieces of code that only run "under certain conditions":
Back
conditional statements
5.
FLASHCARD QUESTION
Front
Which symbol means "not equal to"?
Back
!=
6.
FLASHCARD QUESTION
Front
Which character must be at the end of the line for if?
Back
:
7.
FLASHCARD QUESTION
Front
What does the = = symbol mean in Python?
Back
Equal to or shows equality
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?