You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
163 B

9 months ago
  1. texte = input()
  2. caracteres = list(texte)
  3. for loop in range(len(texte)):
  4. if caracteres[loop] == " ":
  5. caracteres[loop] = "_"
  6. print("".join(caracteres))