j = list(range(1,13))
print (j)
#for a in j:
for i in range(0,12):
result = revenue[i] - expenses[i]
print ("Profit for month "+ str(i) + " = " + str(result))
for m, (r, e) in enumerate(zip(revenue, expenses), 1):
print(f'Profit for month {m} = {r-e}')
my_list = ['apple', 'banana', 'grapes', 'pear']
for c, value in enumerate(my_list, 1):
print(c, value)
# Output:
# 1 apple
# 2 banana
# 3 grapes
# 4 pear
for i in range(0,12):
j = i+1
result = revenue[j] - expenses[j]
print ("Profit for month "+ str(j) + " = " + str(result))
for i in range(0,12):
result = revenue[i+1] - expenses[i+1]
print ("Profit for month "+ str(i+1) + " = " + str(result))