Computer Science, asked by mchandorkar, 9 months ago

write a computer
program that will generate bill at the shopping mall fu or two food item (rs 500) per food item and 4 fruit juices (rs 250) per juice and print the total bill using assignment operator

Answers

Answered by bhargav1713
0

Answer:

dict = { 'fruits': 500, 'juice': 250}

num_fruit = input('Enyer number of fruits :')

num_juices = input('Enter number of juice :')

result = dict['fruits'] * num_fruit + dict['juice'] * num_juices

print(result)

Similar questions