3
I got a problem every time I use the remote end=''
he does not stop!
Example:
tabela = ('Palmeiras', 'Flamengo', 'Internacional')
for time in tabela:
print(time, end=' ')
print('=-' * 20)
Execution:
Palmeiras Flamengo Internacional =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Since I wanted this one =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
at the bottom line
Strange, I had tried it and
tabela.join(' ')
in an online console and had given error. Dai gave a searched and, from what I understand, tuples do not have the methodjoin
, I switched the()
for[]
so it worked– Costamilam
@And it doesn’t have the method
join
is from string, who receives an eternal.– Woss