+ 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
3 Answers
+ 3
import builtins
def input(x):
return int(builtins.input(x))
write this as first lines.
+ 4
Please update it as solved.
+ 1
Frogged this code is work.
Thanks to help đ