+ 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 Answers
+ 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
Hot today
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes