r/Python • • 1d ago

Resource Tell me what python code to mess a round

Type a random python code in the comments to mess around for a flight that’s coming up soon and I really wanna mess a round with some python cod

0 Upvotes

5 comments sorted by

2

u/quiet_stacktrace 1d ago

since you'll be offline on the flight, try the repl and type import this, then help(str) or dir([]) to poke around what's built in. also turtle is in the standard library if you want something visual.

1

u/ssnoyes 11h ago

Write the Game of Life using no if statements.

Generate Sierpinski's Gasket using the chaos game. Expand it to more than three points. Expand into 3D space