• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

Discussions Q&R

What is the result of this code? nums = [1, 2, 3, 4, 5] nums[3] = nums[1] print(nums[3])
listoperationspython3
3 Votes
11 Réponses
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 Réponses
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 Vote
3 Réponses
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 Vote
5 Réponses
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 Vote
3 Réponses
21st Jun 2017, 3:16 PM
Dr Sharon Lewis
Dr Sharon Lewis - avatar
Aujourd'hui en vedette
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
1 Votes
Solving coding challenges
2 Votes
I am new
1 Votes
Changing String Variables into int in C++
0 Votes
Advertising in Sololearn
1 Votes
Fill in the blank to declare a static variable.
0 Votes
RUST'S FUTURE
1 Votes
Question #2: "Please activate your account and keep learning to enable messaging. An email has been sent to you"
1 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
Programming Language
0 Votes