summaryrefslogtreecommitdiff
path: root/progs/a372.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a372.py')
-rw-r--r--progs/a372.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a372.py b/progs/a372.py
new file mode 100644
index 0000000..c5d6326
--- /dev/null
+++ b/progs/a372.py
@@ -0,0 +1,3 @@
+def left_rotate(s,d):
+ tmp = s[d : ] + s[0 : d]
+ return tmp \ No newline at end of file