0
Excuse me for the basic question. I just don’t understand when we have to use the +
in the Input
. Follow the example of a command below. Why does my code not work when I put the str(i)
between commas??
i = 1
textos = []
texto = input("Digite o texto " + str(i) +" (aperte enter para sair):")
Interesting Lacobus - In case the (i) would be any variable? For example: text = input("Type text %d (press enter to exit):" % (5) ) would be Type ??
– Pedro Henrique Santos