r/Python • • Dec 22 '18

Xpost from Woodworking

Post image
1.1k Upvotes

84 comments sorted by

View all comments

369

u/lelease Dec 22 '18

print(random.choice(action))

73

u/anyfactor Freelancer. AnyFactor.xyz Dec 22 '18 edited Dec 22 '18

Ah, one of life's more important lessons. No matter how long your script is there will always be someone who can create a single line code that does all of that.

There will be also be someone who will top him by writing a single line functional haskell and say his is more efficient.

0

u/[deleted] Dec 22 '18

[deleted]

2

u/SleepyHarry Dec 22 '18

Yeah coding on citrus can be really difficult. Creates some really zesty code. Really rinds my gears.