Skip to content

Instantly share code, notes, and snippets.

@FranklyFuzzy
Created August 14, 2022 21:10
Show Gist options
  • Save FranklyFuzzy/b1a13c9d5cfd470c387b2a966058f2c6 to your computer and use it in GitHub Desktop.
Save FranklyFuzzy/b1a13c9d5cfd470c387b2a966058f2c6 to your computer and use it in GitHub Desktop.
#here is version 2.0 of d2.py as I like to complicate things.
x = input('Type your text: ')
d=''
for i in x:
if i == 'o':
i=i.replace('o','ꚛ')
d+=i
elif i == 'O':
i=i.replace('O','Ꚛ')
d+=i
else:
d+=i
print(d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment