On 05/06/18 21:46, Roger Lea Scherer wrote:
> datums = open("C:/Users/Roger/Documents/GitHub/LaunchCode/mystery.txt", "r")
>
> for aline in datums:
> splitted = aline.split()
> try:...
> except:
> while splitted == "UP":
> hadir.pu()
splitted will never equal 'UP'
I give up again. Here's my code which gives no error, but draws something
that looks sort of like a dinosaur. I've included the first few lines of
the text file mystery so you can see the format I received from the
instructions.
Please help. Thank you.
*Mystery excerpt*
UP
-218 185
DOWN
-