0
About python
how we can create a list which every index grows by +3.... cubes = [i**3 for i in range(5)]. I hope my question is understandable
4 RĂ©ponses
+ 2
range(0, 100, 3)
0
You would define the list with the following code:
list = [i*3 for i in range(10)]
- 1
â·· âââ ·· â
- 2
.. / .-- .. .-.. .-.. / ..-. .. -. .. ... .... / .. -