yp
This commit is contained in:
8
sans_espaces.py
Normal file
8
sans_espaces.py
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
texte = input()
|
||||||
|
caracteres = list(texte)
|
||||||
|
|
||||||
|
for loop in range(len(texte)):
|
||||||
|
if caracteres[loop] == " ":
|
||||||
|
caracteres[loop] = "_"
|
||||||
|
|
||||||
|
print("".join(caracteres))
|
||||||
Reference in New Issue
Block a user