Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Python Scramble Text
import sys
import random
text =
new_text = ""
for char in text:
if random.random() > 0.9:
new_text += random.choice("*._=`~")
new_text += char
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.