num=0
for recycle in range(0, ① ):
for food in range(0, ② ):
if ③ >= 30 and ④:
num=num+1
print(f"方案{num}:可回收物{recycle}袋,厨余垃圾{food}袋 → 总袋数{recycle +food}")
plate = 0
bowl = 0
spoon = 0
price = 0
b =[]
for plate in range(1,round(2200/25)): #盘子数量从少到多
price = ① #计算盘子价格
for bowl in range(1, ② ): #碗数量从少到多
price1 = price + bowl * 20 #计算盘子加碗的价格
for spoon in range(1,round(2200/10)): #勺子数量从少到多
price2 = price1 + spoon * 10 #计算盘子加碗再加勺子的价格
if ③ : #如果总价等于2200元
if ④ == 110: #如果个数等于110个
b. ⑤ ([plate,bowl,spoon,price2]) #将当前数据加入到数组中
for a in ⑥ :
print('盘',a[0],'个;碗',a[1],'个;勺',a[2],'个;价',a[3]) #打印出数组中符合要求的数据