Python If Else Statements

Flashcard
•
Computers
•
9th - 12th Grade
•
Easy
Ken Mattern
Used 2+ 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
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
AP Computer Science Principles Unit 3

Flashcard
•
10th - 12th Grade
13 questions
7517 08 Queues and Stacks

Flashcard
•
10th Grade - University
14 questions
AP CSP Pseudocode Practice

Flashcard
•
10th Grade
10 questions
Fall Semester Final (Version B) - CS Principles

Flashcard
•
11th Grade
15 questions
Higher Education Vocab & Terms

Flashcard
•
9th - 12th Grade
15 questions
WOD TEST AP Literature Week 14

Flashcard
•
9th - 12th Grade
10 questions
Python Practice

Flashcard
•
9th Grade
12 questions
Sales I - 3.01 Types of Sales Promotions

Flashcard
•
9th - 12th Grade
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