+ 2

What is wrong in this code? Code in description.

juice=input("number of juice glasses?") coffee=input("number of coffee cups?") tea=input("number of tea cups?") cost_juice = 100 cost_coffee = 50 cost_tea = 10 bill=(juice * cost_juice + coffee * cost_coffee + tea * cost_tea) total_bill = bill print("amount rs.", bill) print("total amount.", total_bill ) Code not give me right bill

11th Oct 2020, 10:26 AM
Omkar Pawar
3 Respostas
+ 3
import builtins def input(x): return int(builtins.input(x)) write this as first lines.
11th Oct 2020, 12:01 PM
Oma Falk
Oma Falk - avatar
+ 4
Please update it as solved.
11th Oct 2020, 11:48 AM
Emily Swans
Emily Swans - avatar
+ 1
Frogged this code is work. Thanks to help 😊
19th Oct 2020, 4:16 PM
Omkar Pawar