3 ms·
Its a nice demo of Ruby but I disagree with that is what it looks like in Python. I would probably do something like print("\n".join([f"i={i}" for i in rang
by graemep 1y ago
Its a nice demo of Ruby but I disagree with that is what it looks like in Python.
I would probably do something like
print("\n".join([f"i={i}" for i in range(1, 10)]))
- stonecharioteer 1y agoI've done Python for 12 years and I'd reject that PR.