We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3bd7ef5 + ebf702f commit 08fcc69Copy full SHA for 08fcc69
string_rotation.py
@@ -1,3 +1,8 @@
1
+#This program rotates a given string letters by letters
2
+#for example:
3
+#input: "Tie"
4
+#Output: ["ieT", "eTi"]
5
+
6
def rotate(n):
7
a = list(n)
8
if len(a) == 0:
0 commit comments