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
1.44
False
"Good Job!"
int("456")
1890
"False"
3.1425
True
400
4.
MATCH QUESTION
1 min • 1 pt
Match the function to what it does:
float()
Shows 2 decimal places
print()
Converts to float
f"{value:.2f}"
Takes user input
input()
Displays output
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
9 questions
Input or Output Devices

Quiz
•
8th Grade
10 questions
JavaScript

Quiz
•
7th Grade
10 questions
Типы данных

Quiz
•
7th Grade
11 questions
Print() - input()

Quiz
•
6th Grade
11 questions
Quiz on variables

Quiz
•
6th - 8th Grade
10 questions
Программирование C#

Quiz
•
1st - 10th Grade
10 questions
Flow Charts (OCR GCSE)

Quiz
•
7th - 11th Grade
10 questions
Programming - Test Data

Quiz
•
3rd - 11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th 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
Digital Footprint

Quiz
•
6th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade