0
How to print this series
1 12 123 1234
4 Answers
+ 8
For example by using a loop and the range() function.
What have you tried so far? Please link your own code attempt.
+ 4
x = int(input()) #4
s = ""
for i in range(x):
s+=str(i+1)
print(s)
0
Use looping statement to this series
0
I'm new in python how can i improve my seft