Python If Else Statements

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

13 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? Options: if a == b, if a = b:, if a != b:, if a == 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 "greater than or equal to"? Options: ==, <=, >=, !=
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
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
AP GOV Judicial Branch

Flashcard
•
9th - 12th Grade
10 questions
Commas in a Series

Flashcard
•
9th - 10th Grade
10 questions
Logos, Ethos, Ethos

Flashcard
•
11th - 12th Grade
11 questions
2.01 Project management 1

Flashcard
•
9th - 12th Grade
12 questions
E. Landmark Supreme Court Cases (Webb)

Flashcard
•
9th - 12th Grade
10 questions
Stage 2 nom. & acc.

Flashcard
•
9th - 12th Grade
10 questions
Reconstruction Era Review

Flashcard
•
9th - 12th Grade
7 questions
Psychiatric Harm

Flashcard
•
KG - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade