Q&A Discussões
What mean this error?
0 Voto
6 RespostasHelp opening files
0 Voto
2 Respostas[TIP] File modes
4 Votos
1 RespostaNeed some guidance
1 Voto
5 RespostasI dont unserstand the output if this code :
# string formatting
nums = [4, 5, 6]
msg = "Numbers: {0} {0} {2}". format(nums[0], nums[1], nums[2])
print(msg)
4 4 6
but when I do :
# string formatting
nums = [4, 5, 6]
msg = "Numbers: {0} {0} {2}". format(nums[1], nums[1], nums[2])
print(msg)
it gives me
5 5 6
is there a priority in the Reading ?
0 Voto
5 RespostasQuente hoje
Vote Code
1 Votes
Input errors (python)
1 Votes
Without degree job
0 Votes
Script file names
0 Votes