I know it's probably a stupid question, but I did my research and I didn't find anything that could solve it. I would love it if anybody could help me.
I am trying to index the day of the week with the right min() and max()
Monday= input('Enter the temperature for monday:')
Tuesday= input('Enter the temperature for Tuesday:')
Wednesday= input('Enter the temperature for Wednesday:')
Thrusday= input('Enter the temperature for Thrusday:')
Friday= input('Enter the temperature for Friday:')
list=[Monday, Tuesday, Wednesday, Thursday, Friday]
for i in list:
print(f" Tuesday was the coldest day with the temperature: {min(list)}")
print(f"Tuesday was the warmest day with the temperature: {max(list)}")
break
Thanks Anyway!