Q&A Discussões
How to Convert JAVA Q
0 Voto
1 RespostaI 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 RespostasComparing Strings
1 Voto
2 Respostas😟How does this work?😣
0 Voto
2 RespostasWhy this code is invalid?
2 Votos
5 RespostasQuente hoje
SQL
3 Votes
HTML/CSS questions
0 Votes
What Does Pseudo Elements Mean.
2 Votes
IMAGE
0 Votes
Html
1 Votes
How to learn css and html
0 Votes
Find courses
0 Votes