Created
August 14, 2022 21:10
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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