Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JoshuaPostel/texaform
/ turn_left
Method
turn_left
python/dog.py:95–97 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
93
self.facing = self.facing.right()
94
95
def
turn_left(self):
96
self.send(
"TURN L"
)
97
self.facing = self.facing.left()
98
99
def
face(self, direction: Direction):
100
if
self.facing == direction:
Callers
1
hug_right
Method · 0.95
Calls
2
send
Method · 0.95
left
Method · 0.45
Tested by
no test coverage detected