Cursos
Cursos
Compilador de Código
Compilador de Código
Discutir
Teams
Fazer login
Registrar
Menu
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
a = [1,2,3] for a[-1] in a: print(a[-1])
tricky
-1 Voto
1 Resposta
18th Oct 2020, 11:41 AM
Abdisa merga
What's the output of this code and explain. a=[1,2,3,4] for a[-1] in a: print(a[-1])
arrays
loops
python
python3
0 Voto
6 Respostas
28th Jul 2022, 7:40 AM
Rex
Struked in a question.Someone can explain what happen here.
a[-1]
python
2 Votos
4 Respostas
28th Oct 2019, 10:29 AM
Mohamed Ishad
What is the output of this code?
a[-1]
python
python3
7 Votos
5 Respostas
3rd Mar 2020, 6:15 AM
APC (Inactive for a while)
Python quiz - How does this work?
a[-1]
challenges
python
quiz
sololearn
11 Votos
9 Respostas
1st Mar 2019, 1:04 AM
[Abandoned]
What is the output of the below code? >>import array >>> a = [1, 2, 3] >>> print a[-3] >>> print a[-2] >>> print a[-1]
booleans
code
codeplayground
django
java
javascript
progress
python
python3
subqueries
0 Voto
2 Respostas
1st Aug 2020, 10:05 AM
Nishan
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Quente hoje
phonepe wrong recharge refund money
0 Votes
Python Courses Order
1 Votes
Float or integer
1 Votes
Is possible to install Python 3.9 or later for Windows 7 ?
1 Votes
Why lru cache is taking more time
0 Votes
Web development
0 Votes
Vector to set effective way and for map
0 Votes
for Glitches
0 Votes
Java intermediate -> exceptions handling problem
0 Votes
HELP ME TO LEARN C IM NEWBIE
0 Votes