New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
What is the result of this code? nums = [1, 2, 3, 4, 5] nums[3] = nums[1] print(nums[3])
list
operations
python3
3 Votes
11 Answers
5th Jul 2020, 11:37 AM
Jaagrit Arora
What is the result of this code? nums = [9, 8, 7, 6, 5] nums.append(4) nums.insert(2, 11) print(len(nums))
lists
python
-1 Vote
5 Answers
5th Dec 2016, 12:11 PM
Alisha Leay
What is d result of this code ? Nums = [9, 8 ,7 ,6, 5] nums.append(4) nums insert (2,11) print (len (nums))
code
result
0 Votes
3 Answers
17th Sep 2018, 10:07 AM
Aryav Shenoy
#! python # huge list making nn=1000000 a = [] i=0 while i #! python # Using Lists as Stacks stack = [3, 4, 5] stack.append(6) stack.append(7) print stack x=stack.pop() print "popped ",x print stack x=stack.pop() print "popped ",x x=stack.pop() print "popped ",x print stack
python
0 Votes
5 Answers
20th Jul 2017, 2:04 PM
paul mwengei
Ruby Array Question
2
3]
4
5]
arrays
i'm
puts
res[2]
res=x|y
ruby
to
trying
understand
x=[1
y=[3
0 Votes
3 Answers
21st Jun 2017, 3:16 PM
Sharon Lewis
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Help me plss
0 Votes
Android studio emulator
0 Votes
I can't understand the problem , please help ...
1 Votes
Return function
1 Votes
Iam not able to add modules in python
0 Votes
[SOLVED] About split() Function
1 Votes
help me
0 Votes
From code challenges
0 Votes
Why does every time I try to change the variable into a flaot it doesn't work pls help me!
1 Votes
Im having hard time on what to put next on else.
0 Votes