
Python If ... Else
Flashcard
•
Other
•
12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What does the 'if' keyword in Python signify?
Back
Start of a conditional statement
2.
FLASHCARD QUESTION
Front
What operator is used in Python to check if two values are equal?
Back
==
3.
FLASHCARD QUESTION
Front
Which keyword is used in Python to define an alternative condition if the initial 'if' condition is not met?
Back
elif
4.
FLASHCARD QUESTION
Front
What is the output of the conditional statement if 'a = 33' and 'b = 200' and the condition is 'if b > a'?
Back
'b is greater than a'
5.
FLASHCARD QUESTION
Front
What does Python use to define the scope of a block of code?
Back
Indentation
6.
FLASHCARD QUESTION
Front
What keyword is used to reverse the result of a conditional statement in Python?
Back
not
7.
FLASHCARD QUESTION
Front
In Python, what does the 'and' keyword do?
Back
Combines two conditional statements
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
8 questions
Cognitive Biases and Effects
Flashcard
•
12th Grade
9 questions
Untitled Flashcards
Flashcard
•
11th Grade
6 questions
C Programming - Control Flow
Flashcard
•
KG
10 questions
Lesson 7: Dear World - Bana's War
Flashcard
•
KG
4 questions
Ch. 1
Flashcard
•
University
6 questions
MCA (2005) Code of Practice
Flashcard
•
KG - University
10 questions
The Prohibited Degrees of female relations.
Flashcard
•
12th Grade
10 questions
SUP E3 - PART 1
Flashcard
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
11 questions
Exponent Quotient Rules A1 U7
Quiz
•
9th - 12th Grade