Skip to content
Snippets Groups Projects
Commit 9cc89ff2 authored by Kevin Fairise's avatar Kevin Fairise
Browse files

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

Branche a rebase

See merge request !2
parents 374f90ed 73706826
No related branches found
No related tags found
1 merge request!2Branche a rebase
......@@ -24,4 +24,12 @@ def convert(word):
if __name__ == "__main__":
print(convert(translate('bouchebée')))
\ No newline at end of file
if len(sys.argv) == 0:
print("Veuillez entrer une phrase en paramètre.")
else:
convertedText = ""
for sentence in sys.argv:
words = sentence.split(" ")
for word in words:
convertedText += convert(translate(word))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment