• Cursussen
  • Code Compiler
  • Discussiëren
  • Prijzen
  • Teams
Menu

Q&A Discussies

numbers = list(range(5)) print(numbers[4])
listpython3range
0 Stemmen
1 Antwoord
27th Sep 2018, 4:40 PM
Ajay B
In this>>> list(range(5)) can be num(range(5))?
range
1 Stem
1 Antwoord
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 Stemmen
12 Antwoorden
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 Stemmen
2 Antwoorden
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 Stemmen
2 Antwoorden
17th Mar 2017, 10:09 AM
Petrov Ilya V
Petrov Ilya V - avatar
Populair vandaag
Python stressed me out
1 Votes
How often can you become a fully stuck developer?
1 Votes
Improve accessibility of this page
0 Votes
Course Doubt
1 Votes
Data analysis
0 Votes
If we already have the DELETE command in SQL, why do we need TRUNCATE?
1 Votes
[ReSolved] I paid for the subscription but didn't receive it.
0 Votes
How do i make a lexer and parser
1 Votes
Help
0 Votes
Saved code
0 Votes