Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ move_disk
Function
move_disk
other/tower_of_hanoi.py:18–19 ·
view source on GitHub ↗
(fp, tp)
Source
from the content-addressed store, hash-verified
16
17
18
def
move_disk(fp, tp):
19
print(
"moving disk from"
, fp,
"to"
, tp)
20
21
22
def
main():
Callers
1
move_tower
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected