Это заставило меня застрять на века, может ли кто-нибудь мне помочь? То, что выделено жирным шрифтом, - это то, в чем мне нужна помощь, пожалуйста, попробуйте придерживаться формата!
Total for product 1: xx
Total for product 2: xx
etc [3]
sales = [
[0,0,0,0,0],
[0,0,0,0,0],
[0,0,0,0,0]
]
totalsales = [0,0,0,0,0]
for product = 0 to 4
print("Sales for product", product + 1)
for month = 0 TO 2
sales[month][product] = input("Enter quantity for month ", month + 1,":")
**insert code here**
next month
next product
**insert code here**