New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
Threads
1 Vote
11 AnswersOrder of Execution?
2 Votes
12 AnswersPRIORITY OF NUMBERS
2 Votes
5 AnswersCss !important
2 Votes
5 AnswersPriority Queue
1 Vote
1 AnswerOperator priority
0 Votes
5 AnswersStarting school
6 Votes
5 AnswersRun() priority order
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 AnswersHot today
Strange narrowing conversion error from FLTK Color to Color Struct, Stroustrup's header Graph.h
0 Votes
[ solved ] Programming sickness
3 Votes
Effects on HTML and JavaScript
0 Votes
Help. Помогите пожалуйста
1 Votes
Encryption and Decryption
1 Votes
Izzy the iguana
0 Votes