This commit is contained in:
Samuel Vermeulen 2023-01-04 23:12:31 +01:00
parent 7ff1fa9950
commit f33cb0c9b2

8
sans_espaces.py Normal file
View File

@ -0,0 +1,8 @@
texte = input()
caracteres = list(texte)
for loop in range(len(texte)):
if caracteres[loop] == " ":
caracteres[loop] = "_"
print("".join(caracteres))