Python L5 Tips Calculator

Python L5 Tips Calculator

6th - 8th Grade

6 Qs

quiz-placeholder

Similar activities

Introduction to Python

Introduction to Python

6th Grade

10 Qs

Avaliação Pensamento Computacional - Prático

Avaliação Pensamento Computacional - Prático

1st Grade - Professional Development

10 Qs

Ms. Molloy Computer Science quick quiz

Ms. Molloy Computer Science quick quiz

7th Grade

10 Qs

ICTL

ICTL

7th - 8th Grade

10 Qs

6 class

6 class

6th Grade

10 Qs

Bài tập củng cố Tin 8 - Bài 4 và BTH3

Bài tập củng cố Tin 8 - Bài 4 và BTH3

8th Grade

10 Qs

Inputs & Outputs

Inputs & Outputs

6th Grade

10 Qs

Input, Output & Storage Devices

Input, Output & Storage Devices

7th Grade

10 Qs

Python L5 Tips Calculator

Python L5 Tips Calculator

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

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

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

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

a
b
people
bill