Courses
Log in
Start Learning AI
Courses
Log in
Start Learning AI
Q&A Discussions
Search
Search
Ask a question
Ask a question
numbers = list(range(5)) print(numbers[4])
list
python3
range
0 Votes
1 Answer
27th Sep 2018, 4:40 PM
Ajay B
In this>>> list(range(5)) can be num(range(5))?
range
1 Vote
1 Answer
25th Feb 2018, 9:33 PM
Devvrat Marwah
What is the result of this code? nums = list(range(5)) print(nums[4])
python
range
2 Votes
12 Answers
12th May 2017, 6:47 AM
Deepak Agrawal
What is the result of this code? nums = list(range(5)) print(nums[4])
=
code?
is
list(range(5))
nums
of
result
the
this
what
0 Votes
2 Answers
19th Oct 2018, 3:53 PM
Popa Antonio
4 is the correct answer. list(range(5)) = [0, 1, 2, 3, 4] and nums[4] is the 5th element of the list.
python
range
0 Votes
2 Answers
17th Mar 2017, 10:09 AM
Petrov Ilya V
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for âIntergalactic Championâ
4 Votes
I am new
1 Votes
Changing String Variables into int in C++
0 Votes
Python intermediate help with dictionaries
0 Votes
Marquee
1 Votes
Fill in the blank to declare a static variable.
0 Votes
RUST'S FUTURE
1 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
Any Advise?
1 Votes
Popsacles Aufgabe
1 Votes