+ 2

1 1 2 1 2 3 1 2 3 4

how to dobthis in python using while loop

4th Oct 2016, 1:34 AM
Anju kv
Anju kv - avatar
2 Respostas
+ 2
i = 0 exit = input() while i <= exit: i += 1 list = [] for x in range(1, i): list.append(x) print(str(list))
4th Oct 2016, 10:35 AM
Redstone Tehnik
Redstone Tehnik - avatar
0
using while lopp
20th Oct 2016, 6:19 AM
Anju kv
Anju kv - avatar