LearnPy Hub
← Introduction & print() problems
Medium

Two-Item Receipt

Read two lines of item price. Print each as item: price Tk, then a line Total: T Tk.

Input

Two lines.

Output

Three lines.

Sample 1

Input
Tea 20
Cake 80
Output
Tea: 20 Tk
Cake: 80 Tk
Total: 100 Tk

Sample 2

Input
Pen 12
Book 350
Output
Pen: 12 Tk
Book: 350 Tk
Total: 362 Tk
solution.py
Output appears here
Two-Item Receipt · Python practice problem · LearnPy Hub