Python L5 Tips Calculator

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
Future Teacher
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does input() return by default in Python?
int
float
string
boolean
2.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Fill in the blank to convert the bill input into a float:
bill = _______(input("How much is the total bill? "))
3.
CLASSIFICATION QUESTION
3 mins • 1 pt
Drag and drop the following data types into the correct category:
Groups:
(a) String
,
(b) Boolean
,
(c) Integer
,
(d) Float
3.1425
"Good Job!"
1890
True
1.44
int("456")
"False"
False
400
4.
MATCH QUESTION
1 min • 1 pt
Match the function to what it does:
print()
Shows 2 decimal places
float()
Converts to float
f"{value:.2f}"
Displays output
input()
Takes user input
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using f"{final:.2f}" in the Tips Calculator?
Convert string to float
Split the bill
Format the number to 2 decimal places
Round the number to the nearest whole
6.
LABELLING QUESTION
1 min • 1 pt
Fill in the blank to complete the code
Similar Resources on Wayground
10 questions
BK 6 7 Sınıf Kodlama ve Robotik

Quiz
•
6th - 7th Grade
10 questions
ไพทอน-ชนิดข้อมูล-ตัวแปร-นิพจน์

Quiz
•
7th Grade
11 questions
Python 1 модуль

Quiz
•
6th - 8th Grade
10 questions
Introducing Python

Quiz
•
7th Grade
10 questions
Python Data Types

Quiz
•
8th Grade
10 questions
Delphi Arguments/Returns

Quiz
•
8th - 10th Grade
10 questions
Python dla bardzo początkujących

Quiz
•
8th Grade
10 questions
Python

Quiz
•
8th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
16 questions
Clovis Unified Student Use of Technology

Quiz
•
4th - 8th Grade
13 questions
Digital Citizenship

Quiz
•
6th Grade
11 questions
Technology Acceptable Use

Quiz
•
6th - 8th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade