Skip to content
Snippets Groups Projects
Commit 2d48879c authored by Louis Moriceau's avatar Louis Moriceau
Browse files

Merge branch 'revert-f10e5cab' into 'master'

Revert "Merge branch 'branche-a-rebase' into 'master'"

See merge request !3
parents f10e5cab 803fe1d4
Branches master
No related tags found
1 merge request!3Revert "Merge branch 'branche-a-rebase' into 'master'"
import emoji
import sys
wordToEmoji = {
'super': ':thumbs_up:',
......@@ -22,13 +21,4 @@ def convert(word):
if __name__ == "__main__":
if len(sys.argv) <= 1:
print("Veuillez entrer une phrase en paramètre.")
else:
convertedText = ""
for sentence in sys.argv[1:]:
words = sentence.split(" ")
for word in words:
convertedText += convert(translate(word)) + " "
print(convertedText)
print("super")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment