Skip to content

Instantly share code, notes, and snippets.

@mrdoornbos
Created November 23, 2023 14:46
Show Gist options
  • Save mrdoornbos/ecf205620d6f466a6967c0e2dfc006b3 to your computer and use it in GitHub Desktop.
Save mrdoornbos/ecf205620d6f466a6967c0e2dfc006b3 to your computer and use it in GitHub Desktop.
Numworks one line 10PRINT
import random; counter = 0; exec("while True: print(random.choice('/' + chr(92)), end='' if (counter := counter + 1) % 80 else '\\n')")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment