number_of_coins = 10 .
if number_of_coins == 6: .
. print("You can buy some gum")
else: .
if number_of_coins == 10:
. print("You are rich")
else: .
. print("Get a job!")
Nested if...else statements
Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Used 140+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
8.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
10 questions
Google Docs
Quiz
•
3rd - 6th Grade
11 questions
PYTHON "If" Statement
Quiz
•
6th Grade
10 questions
MOAC Excel 2016 Lesson 01
Quiz
•
8th - 12th Grade
13 questions
Program Development - Python: Errors
Quiz
•
8th - 10th Grade
13 questions
Python
Quiz
•
7th - 8th Grade
10 questions
Python Variables
Quiz
•
6th Grade
11 questions
Python for Class 7
Quiz
•
7th - 8th Grade
10 questions
Microsoft Word 2016 Quiz 1
Quiz
•
7th Grade
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade