Skip to content
Snippets Groups Projects

Branche a rebase

1 file
+ 9
1
Compare changes
  • Side-by-side
  • Inline
+ 9
1
@@ -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))
Loading