Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Test formation git
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kevin Fairise
Test formation git
Merge requests
!2
Branche a rebase
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Branche a rebase
branche-a-rebase
into
master
Overview
0
Commits
3
Pipelines
0
Changes
1
Merged
Kevin Fairise
requested to merge
branche-a-rebase
into
master
4 years ago
Overview
0
Commits
3
Pipelines
0
Changes
1
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
73706826
3 commits,
4 years ago
1 file
+
9
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
code/main.py
+
9
−
1
View file @ 73706826
Edit in single-file editor
Open in Web IDE
Show full file
@@ -24,4 +24,12 @@ def convert(word):
@@ -24,4 +24,12 @@ def convert(word):
if
__name__
==
"
__main__
"
:
if
__name__
==
"
__main__
"
:
print
(
convert
(
translate
(
'
bouchebée
'
)))
if
len
(
sys
.
argv
)
==
0
:
\ No newline at end of file
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