Preparing git repo for final project

This commit is contained in:
2023-07-09 11:19:26 +02:00
parent 6a38966eef
commit 63d06d6b35
67 changed files with 1587 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
def replace_emoticons_with_emojis():
input_string = input("Say something quickly and I will repeat it slowly!\t\t")
for emoticon, emoji in {':)': '🙂', ':(': '🙁'}.items():
input_string = input_string.replace(emoticon, emoji)
print(input_string)
if __name__ == "__main__":
replace_emoticons_with_emojis()