2 ms·
> [x:=[1,1]] + [x := [x[1], sum(x)] for i in range(10)] Tried to run this in a REPL and got invalid syntax.
by Rainymood 7y ago
> [x:=[1,1]] + [x := [x[1], sum(x)] for i in range(10)]
Tried to run this in a REPL and got invalid syntax.
- fxj 7y agopython 3.8? try: https://tio.run/#python38pr https://tio.run/#python38pr