Python L5 Tips Calculator

Python L5 Tips Calculator

6th - 8th Grade

6 Qs

quiz-placeholder

Similar activities

7 ICT Sem 2 Reviewer

7 ICT Sem 2 Reviewer

7th Grade

10 Qs

Program Remedial Penilaian Harian 1 Genap 2023/2024

Program Remedial Penilaian Harian 1 Genap 2023/2024

7th Grade

10 Qs

Quiz 9 (15.09.2021)

Quiz 9 (15.09.2021)

1st - 12th Grade

10 Qs

Technology Week HTG Quiz - Monday

Technology Week HTG Quiz - Monday

7th - 12th Grade

10 Qs

EXCEL 1

EXCEL 1

7th Grade

10 Qs

Recording Software Button Identification Quiz

Recording Software Button Identification Quiz

8th Grade - University

10 Qs

💯 Quiz 1:Work with Fractions in Google Sheets

💯 Quiz 1:Work with Fractions in Google Sheets

8th Grade

10 Qs

MÁY TÍNH VÀ CỘNG ĐỒNG

MÁY TÍNH VÀ CỘNG ĐỒNG

6th Grade

10 Qs

Python L5 Tips Calculator

Python L5 Tips Calculator

Assessment

Quiz

Computers

6th - 8th Grade

Practice Problem

Easy

Created by

Future Teacher

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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!"

400

False

1890

3.1425

int("456")

True

4.

MATCH QUESTION

1 min • 1 pt

Match the function to what it does:

float()

Takes user input

print()

Converts to float

f"{value:.2f}"

Shows 2 decimal places

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

a
b
bill
people