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

Q&A Discussions

a = [1,2,3] for a[-1] in a: print(a[-1])
tricky
-1 Vote
1 Answer
18th Oct 2020, 11:41 AM
Abdisa merga
Abdisa merga - avatar
What's the output of this code and explain. a=[1,2,3,4] for a[-1] in a: print(a[-1])
arraysloopspythonpython3
0 Votes
7 Answers
28th Jul 2022, 7:40 AM
Rex
Rex - avatar
Struked in a question.Someone can explain what happen here.
a[-1]python
2 Votes
4 Answers
28th Oct 2019, 10:29 AM
Mohamed Ishad
Mohamed Ishad - avatar
What is the output of this code?
a[-1]pythonpython3
7 Votes
5 Answers
3rd Mar 2020, 6:15 AM
APC (Inactive for a while)
APC (Inactive for a while) - avatar
Python quiz - How does this work?
a[-1]challengespythonquizsololearn
11 Votes
9 Answers
1st Mar 2019, 1:04 AM
[Abandoned]
[Abandoned] - avatar
What is the output of the below code? >>import array >>> a = [1, 2, 3] >>> print a[-3] >>> print a[-2] >>> print a[-1]
booleanscodecodeplaygrounddjangojavajavascriptprogresspythonpython3subqueries
0 Votes
2 Answers
1st Aug 2020, 10:05 AM
Nishan
Hot today
Hey I've done the C# and SQL beginner and intermediate, but still feel like there could be more... Is there advanced somewhere?
1 Votes
How create a new language ?
1 Votes
Beginner question
0 Votes
Is there any debugging practice here or not?
2 Votes
Can I make coding projects here and run them without sololearn pro, only in sololearn.
0 Votes
Issue with Sololearn Module Quiz Despite Correct Answers
1 Votes
I need help to solve this
0 Votes
Remove
0 Votes
Project
0 Votes
Hey what the research process order for them that I am telling you please order them and tell me answer
0 Votes