We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e33174e commit eb69709Copy full SHA for eb69709
1 file changed
project/pattren.py
@@ -0,0 +1,12 @@
1
+#Cara membuat pattren dengan teks (python)
2
+print("=== Pattren Text ===")
3
+MyStr = "Python"
4
+x = 0
5
+
6
+for i in MyStr:
7
+ x += 1
8
+ print(MyStr[0:x])
9
10
11
+ x -= 1
12
0 commit comments