0

How to print this series

1 12 123 1234

20th Sep 2022, 2:09 PM
sravan kumar
sravan kumar - avatar
4 odpowiedzi
+ 8
For example by using a loop and the range() function. What have you tried so far? Please link your own code attempt.
20th Sep 2022, 2:16 PM
Lisa
Lisa - avatar
+ 4
x = int(input()) #4 s = "" for i in range(x): s+=str(i+1) print(s)
20th Sep 2022, 6:06 PM
NinjaGamer
NinjaGamer - avatar
0
Use looping statement to this series
21st Sep 2022, 6:03 AM
S Kamesh
0
I'm new in python how can i improve my seft
22nd Sep 2022, 1:31 PM
seybou Barry
seybou Barry - avatar