Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
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
Excuse me, why do they always ask us to input without telling us what it is for in python.
3 Votes
Should i learn python more or HTML?
2 Votes
how much time will it take to learn python OOP if i spend 1 hour everyday
0 Votes
C++ Vectors
0 Votes
Active learner
0 Votes
Code challenge
0 Votes
Is it good for student to study C++ first?
0 Votes
A Little Question Here!
1 Votes
Does solving a code coach actually give XPs?
2 Votes
(Resolved) Error: Gcc undefined reference to sha 256 đđ¤Śđ˝ââď¸
1 Votes