New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
Anyone suffering msg bugs?
8 Votes
4 Answersbaffling Python error msg
0 Votes
1 AnswerI am not able to msg anyone
0 Votes
6 AnswersCODE PLAYGROUND
1 Vote
2 AnswersI 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 AnswersHot today
3 consecutive words
1 Votes
c++ help
1 Votes
BOTSS
0 Votes
Access deny problem
2 Votes
How to insert a link into code
0 Votes
What's wrong with my code?
0 Votes
A small question
0 Votes
My future
0 Votes
How to complete
1 Votes