+ 2
1 1 2 1 2 3 1 2 3 4
how to dobthis in python using while loop
2 Réponses
+ 2
i = 0
exit = input()
while i <= exit:
i += 1
list = []
for x in range(1, i):
list.append(x)
print(str(list))
0
using while lopp
how to dobthis in python using while loop