I don't understand how answer is 7 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I don't understand how answer is 7

I tried all off the numbers but i do expected it as 4

8th Mar 2017, 4:30 PM
SHUBHAM PANCHAL
SHUBHAM PANCHAL - avatar
4 Answers
+ 4
Ok. You're adding 2 elements to a 5-element list. The resulting list is [9,8,11,7,6,5,4].
8th Mar 2017, 5:47 PM
Álvaro
+ 2
What is the code?
8th Mar 2017, 5:33 PM
Álvaro
+ 2
Thank you for your help i was so confused
8th Mar 2017, 5:50 PM
SHUBHAM PANCHAL
SHUBHAM PANCHAL - avatar
+ 1
Nums = [9,8,7, 6,5] Nums. Append(4) Nums. Insert(2,11) Print(len(Nums))
8th Mar 2017, 5:45 PM
SHUBHAM PANCHAL
SHUBHAM PANCHAL - avatar