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