Q&A Discussões
Why this code runs?:
nums = [4, 5, 6]
msg = "Numbers: {} {}". format(nums[0], nums[1], nums[2])
print(msg)
Numbers:4, 5.
Byt the code:
nums = [4, 5, 6]
msg = "Numbers: {} {} {} {}". format(nums[0], nums[1], nums[2])
print(msg)
leading to error?
IndexError: tuple index our of range
1 Voto
3 RespostasCSS
-2 Votos
2 RespostasQuente hoje
I don't know what to do
1 Votes
Problem from code coach.
1 Votes
Help an error
2 Votes
Who can teach me to write codes
0 Votes
Responsive Layout with Bootstrap
3 Votes
Needs hwlp
0 Votes