Sesiones de PyR
How to Convert JAVA Q
0 Votos
1 RespuestaI 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 Votos
5 RespuestasComparing Strings
1 Voto
2 Respuestas😟How does this work?😣
0 Votos
2 RespuestasEn tendencia hoy
Functions in python
2 Votes
HTML
1 Votes
For Mobile app
0 Votes
Answer please
0 Votes
I need advice
0 Votes
I need advice
0 Votes