Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
What does this program print? print(np.linspace(0, 10, 5)) | StemPy Lab
Quizzes
/
What does this program print? print(np.linspace(0, 10, 5))
Python Programming
Easy
High School (11–12)
High School (9–10)
Undergraduate
General
Python for Science and Maths › NumPy Arrays
Created by
StemPy Lab
What does this program print? print(np.linspace(0, 10, 5))
[0. 2. 4. 6. 8.]
[ 0. 2. 4. 6. 8. 10.]
[ 0. 2.5 5. 7.5 10. ]
[ 2.5 5. 7.5 10. ]
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← What does this program print? print(np.arange(2, 10, 3))
What does this program print? a = np.array([10, 20, 30, 40]); b = a[1:3]; b[0] = 0; print(a) →
More on
Python for Science and Maths › NumPy Arrays
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
A ball is thrown horizontally at 15 m/s from a roof that is 20 m high.
Hard
A ball is thrown at 20 m/s on the Moon, where g = 1.6 m/s².
Medium
A student measures the length of a rod five times: 10.2, 10.4, 10.1, 10.3 and 10.5 cm.
Hard
Four players played three games. The scores are the rows of this table: [[12, 15, 9], [20, 18, 22]…
Medium
All problems on this topic →