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
QBASIC
Quiz
•
7th Grade
10 questions
Python Basics
Quiz
•
8th - 10th Grade
10 questions
Python
Quiz
•
7th Grade
10 questions
python grade 7
Quiz
•
7th Grade
10 questions
Introduction to Python Turtle
Quiz
•
7th - 8th Grade
10 questions
Intro to Python
Quiz
•
8th Grade
10 questions
Python - Printing, Variables and Syntax
Quiz
•
8th Grade
10 questions
Python Programming
Quiz
•
7th - 9th 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