Excuse me for the basic question. It's just that I do not understand when we have to use +
in Input
. Here is an example of a command below. Why does not my code work when I put str(i)
between commas?
i = 1
textos = []
texto = input("Digite o texto " + str(i) +" (aperte enter para sair):")