F&A Diskussionen
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 Stimme
3 AntwortenHeute heiß
Help please?
4 Votes
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Game development
0 Votes
Suggestions needed
4 Votes
Ruby programming?
3 Votes