Re: [Tutor] Turtle drawing

2018-06-05 Thread Alan Gauld via Tutor
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'

[Tutor] Turtle drawing

2018-06-05 Thread Roger Lea Scherer
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 -