I have two lists:
revenue_list_per_day = [3.750525, 3.751132, 3.750959, 3.750447]
day_list = [datetime.date(2021, 4, 20), datetime.date(2021, 4, 21), datetime.date(2021, 4, 22), datetime.date(2021, 4, 23)]
for i in revenue_list_per_day:
revenue_list_per_day.pop(0)
for n in day_list:
day_list.pop(0)
print(i,n)
OUTPUT =>
3.750525 2021-04-20
3.750525 2021-04-22
3.750959 2021-04-22
EXPECTED =>
3.750525 2021-04-20
3.751132 2021-04-21
3.750959 2021-04-22
3.750447 2021-04-23
What do you think I should do?