order_list = ['rice', 'beef', 'chips', 'pizza', 'pizza', 'yogurt', 'tomato', 'rice', 'beef'] sum = 0 for i in order_list: if i == 'pizza': sum += 10 print(f'{i} is 10 dollars') elif i == 'rice': sum += 2 print(f'{i} is 2 dollars') elif i == 'yogurt': sum += 5 print(f'{i} is 5 dollars') else: sum+=8 ...