We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f26c135 commit 516a072Copy full SHA for 516a072
Warmup-2.py/front_times.py
@@ -0,0 +1,9 @@
1
+def front_times(str, n):
2
+ l = len(str)
3
+ if l < 3 :
4
+ return str * n
5
+ result = str[:3]
6
+
7
+ return result * n
8
9
0 commit comments