Continuously print a random character (a-z, A-Z, 0-9) not separated by a newline (\n).

Expected output

b7gFDRtgFc67h90h8H76f5dD55f7GJ6GRT86hG7TH6T7302f2f4 ...

Note: output should be randomised.


  1. Output must be continuous (i.e. never ending),
  2. Output may not comprise of newlines,
  3. Output must be random, and should not have a set seed (i.e: produce the same output every time)
  4. Output must be only composed of characters: a-z, A-Z, 0-9.
  5. No loopholes, regarding programming language version(s). Use only the tools available with that programming language, no third-party packages, modules, or other addons.


  • Smallest file size (in bytes)
  • 1
    \$\begingroup\$ Like I said in the Sandbox, I consider this to be a duplicate of this and this and so I've closed this as a dupe of them \$\endgroup\$ Commented Nov 30, 2021 at 2:31
  • 2
    \$\begingroup\$ Things to avoid when writing challenges: saying "random output" without further specification, assuming you've addressed sandbox feedback. \$\endgroup\$
    – Bubbler
    Commented Nov 30, 2021 at 2:34
  • \$\begingroup\$ Also, for future reference, I'd leave posts in the Sandbox for a minimum of 3 days - a week is usually a good rule of thumb. This allows multiple users to provide feedback, for you to address that and then for users to provide meta-feedback on any changes you then make \$\endgroup\$ Commented Nov 30, 2021 at 2:38
  • 2
    \$\begingroup\$ Not sure if it's been said yet, but welcome to Code Golf! \$\endgroup\$ Commented Nov 30, 2021 at 2:49
  • \$\begingroup\$ Why am I getting upvotes?? \$\endgroup\$ Commented Nov 30, 2021 at 22:06


Browse other questions tagged or ask your own question.