Console
Anything you print() shows up here. So do error messages.
Level 1
Straight Ahead
whilenorthFacing
0Moves
0Turns
Loading Python…
Testing…
Level complete
Found it!
Ready. Press Run.
Need a hint?
Commands you can use
move()walk one square in the direction the robot is facing
turn_left()turn 90 degrees left (also turn_right)
wall_ahead()True if a wall is directly in front (also wall_left, wall_right)
at_exit()True if the robot is standing on the exit
facing()"north", "east", "south" or "west"
pos()the robot's position as (x, y)
say("hi")the robot says something
print("hi")write to the console