
Alex F. answered 11/05/21
A Patient and Kind Tutor
At the end of your main while loop, when you take the inputs from the user and store them in the output variables, instead of using a list, you are simply adding the values for each variable onto the string of the previous:
The first time this runs, outputn is set to "1". Then the second loop, it will add a 2 to the end, and make it "12", and so on to "123" etc. Your code is doing this, because += a bunch of string values just concenates (adds) them together.
Instead, you'd probably be better off storing them in some kind of list:
Now you have a list of tuples containing your 3 measurements in yard number order. You'll have to re-write how you print this information, probably with some kind of for loop.
Hint: