Mar-06-2021, 02:37 PM
You cannot do this:
distance_day1 = int(input()) distance_day2 = int(input()) distance_day3 = int(input()) distance_day4 = int(input()) distance_day5 = int(input()) distance_day6 = int(input()) distance_day7 = int(input())There are two things wrong. First, the assignment says travel distance is is a real number, not an integer. More importantly, the number of days is an input, not 7.