• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu

Q&A Discussões

numbers = list(range(5)) print(numbers[4])
listpython3range
0 Voto
1 Resposta
27th Sep 2018, 4:40 PM
Ajay B
In this>>> list(range(5)) can be num(range(5))?
range
1 Voto
1 Resposta
25th Feb 2018, 9:33 PM
Devvrat Marwah
Devvrat Marwah - avatar
What is the result of this code? nums = list(range(5)) print(nums[4])
pythonrange
2 Votos
12 Respostas
12th May 2017, 6:47 AM
Deepak Agrawal
Deepak Agrawal - avatar
What is the result of this code? nums = list(range(5)) print(nums[4])
=code?islist(range(5))numsofresultthethiswhat
0 Voto
2 Respostas
19th Oct 2018, 3:53 PM
Popa Antonio
Popa Antonio - avatar
4 is the correct answer. list(range(5)) = [0, 1, 2, 3, 4] and nums[4] is the 5th element of the list.
pythonrange
0 Voto
2 Respostas
17th Mar 2017, 10:09 AM
Petrov Ilya V
Petrov Ilya V - avatar
Quente hoje
Audio adding
1 Votes
playground input
0 Votes
What is problem in this code
0 Votes
Software developer
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
How I can use div
0 Votes
Asking for final year project ideas!
1 Votes
TIPS From Veterans
1 Votes
Html issue
0 Votes
Cybersecurity jobs without degree
0 Votes