We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77f2a2e commit bb4a7eaCopy full SHA for bb4a7ea
String Patterns/stringpattern14.py
@@ -0,0 +1,5 @@
1
+s = "ARYA"
2
+for i in range(len(s)):
3
+ print(s[:i+1])
4
+for i in range(len(s)-1, 0, -1):
5
+ print(s[:i])
0 commit comments