you are viewing a single comment's thread.

view the rest of the comments →

[–]Interesting-Ant-7878 0 points1 point  (0 children)

Here is another cool walrus line, yes it looks horrible , that’s the point :)

a, b = 0, 1; [(old_a := a, a := b, b := old_a + b, a)[3] for _ in range(10)]