Misleading/Contradictory Instructions



The code worked fine but the instructions are unclear. Part of the instructions reads:

'At the beginning of each iteration, print "Turn", turn + 1 to let the player know what turn they are on.'

but when I printed "Turn n" where n was the turn at the beginning of the iteration it did not accept it.

I then noticed that the code comment prompts says to add it "Here" which is at the bottom so I did that and it still didn't work.

Then I removed "Turn" and it accepted it. So the instructions led me to believe I needed to print the string literal "Turn" concatted with then the number at the top of the loop but in actuality it was looking for simply the turn number at the bottom of the loop.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.