Discussions Q&R
How to Convert JAVA Q
0 Vote
1 RéponseI 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 Vote
5 RéponsesComparing Strings
1 Vote
2 Réponses😟How does this work?😣
0 Vote
2 RéponsesWhy this code is invalid?
2 Votes
5 RéponsesAujourd'hui en vedette
Thread local : global vs local
0 Votes
Postgrrsql and python
0 Votes
Data Analysis Course
1 Votes
Codding lern
0 Votes
Is there LUA?
0 Votes
Web vs python
0 Votes