MCPcopy Create free account
hub / github.com/geekcomputers/Python / rotate_string.py

File rotate_string.py

rotate_string.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def left_rotate(s, val):
2 s1 = s[0:val]
3 s2 = s[val:]
4 return s2 + s1

Callers

nothing calls this directly

Calls 1

circular_rotateFunction · 0.85

Tested by

no test coverage detected