Q&A Discussions
How to Convert JAVA Q
0 Votes
1 AnswerImplementing Dynamic Strings
0 Votes
1 AnswerI 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 Votes
5 AnswersPython VM: Strange Behavior
0 Votes
1 AnswerComparing Strings
1 Vote
2 Answers😟How does this work?😣
0 Votes
2 AnswersWhy this code is invalid?
2 Votes
5 AnswersHot today
C pointers
2 Votes
Python
0 Votes
Guys help please
0 Votes
Python question
2 Votes
Control flow
0 Votes
HTML
0 Votes
Front-end vs Full-stack
1 Votes
About our Capstone product "Ecocambio" We don't know how to code and how electronics would connect.
0 Votes
Augmented assignment (+=)
0 Votes