Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # grawlixes converter
- # https://youtu.be/F5Bn_lM4tdo
- import random
- import string
- def convert_text(word):
- converted_word = word[0]
- for i in range(1, len(word) - 1):
- converted_word += random.choice("!@#$%&?()*[\]")
- converted_word += word[-1]
- return converted_word
- print(convert_text(input("converted text: ")))
Advertisement
Add Comment
Please, Sign In to add comment