• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

What is the result of this code? nums = [1, 2, 3, 4, 5] nums[3] = nums[1] print(nums[3])
listoperationspython3
3 Votes
11 Answers
5th Jul 2020, 11:37 AM
Jaagrit Arora
Jaagrit Arora - avatar
What is the result of this code? nums = [9, 8, 7, 6, 5] nums.append(4) nums.insert(2, 11) print(len(nums))
listspython
-1 Vote
5 Answers
5th Dec 2016, 12:11 PM
Alisha Leay
Alisha Leay - avatar
What is d result of this code ? Nums = [9, 8 ,7 ,6, 5] nums.append(4) nums insert (2,11) print (len (nums))
coderesult
0 Votes
3 Answers
17th Sep 2018, 10:07 AM
Aryav Shenoy
Aryav Shenoy - avatar
#! 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
paul mwengei - avatar
Ruby Array Question
23]45]arraysi'mputsres[2]res=x|yrubytotryingunderstandx=[1y=[3
0 Votes
3 Answers
21st Jun 2017, 3:16 PM
Dr Sharon Lewis
Dr Sharon Lewis - avatar
Hot today
Excuse me, why do they always ask us to input without telling us what it is for in python.
3 Votes
Should i learn python more or HTML?
2 Votes
how much time will it take to learn python OOP if i spend 1 hour everyday
0 Votes
C++ Vectors
0 Votes
Active learner
0 Votes
Code challenge
0 Votes
Is it good for student to study C++ first?
0 Votes
A Little Question Here!
1 Votes
Does solving a code coach actually give XPs?
2 Votes
(Resolved) Error: Gcc undefined reference to sha 256 🙄🤦🏽‍♀️
1 Votes