Python Forum
I can't print what I need and I can't figure it out **wall**
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I can't print what I need and I can't figure it out **wall**
#3
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.
buran likes this post
Reply


Messages In This Thread
RE: I can't print what I need and I can't figure it out **wall** - by deanhystad - Mar-06-2021, 02:37 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020