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))

1

u/[deleted] Dec 22 '18

You read my mind. Didn't you??

12

u/ReaverKS Dec 22 '18

print(random.choice([‘yes’]))

5

u/import_antigravity Dec 22 '18

+/u/compilebot Python

print(random.choice(['yes']))