I am trying to make a program that allows me to create a word, through letters entered by the user (It is assumed that you enter letters one at a time).
I did it using a list, but when I print I get: ['h', 'o', 'l', 'a']
, and what I do not want to see quotes or commas.
Does anyone know how I can solve it?
This is what I did:
palabra=[]
letra=str(input("Ingrese la primer letra de la palabra"))
while letra!="/":
palabra.append(letra)
letra=str(input("Ingrese la primer letra de la palabra"))
print(palabra)