+ 1

how to generate a list of infinite length containing all numbers made of 1 or 2 or both in ascending order?

10th Sep 2016, 6:26 AM
Akhil Gaur
Akhil Gaur - avatar
2 Respuestas
+ 2
Use while loop using append or extend function.... And for ascending order u can sort the list
10th Sep 2016, 6:33 AM
khushboo kotadia
khushboo kotadia - avatar
0
hey thanks😁
10th Sep 2016, 5:24 PM
Akhil Gaur
Akhil Gaur - avatar