X= input(hi) Y=input(5) Z = str(x)*int(y) Print(z) The output shows hi5hihihihi Instead of hihihihihi
Aprende de forma mais eficiente, gratuitamente:
Introdução ao Python
7,1M de estudantes
Introdução ao Java
4,7M de estudantes
Introdução ao C
1,5M alunos
Introdução ao HTML
7,5M alunos