sequence python

Solutions on MaxInterview for sequence python by the best coders in the world

showing results for - "sequence python"
Romane
28 Sep 2016
1range(5)       sequence 0, 1, 2, 3, 4
2range(2,5)     sequence 2, 3, 4
3range(2,10,2)  sequence 2, 4, 6, 8
4range(6,1,-1)  sequence 6, 5, 4, 3, 2
5
Elena
09 Jan 2018
1# from = 0, to = 10, step/by = 2
2even_list = list(range(0,10,2))
3print(even_list)
4