Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How to Print Range Between 1 To 100 and show 4 integers random numbers
Home
NumPy
How to Print Range Between 1 To 100 and show 4 integers random numbers
+2
votes
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
How to Print Range Between 1 To 100 and show 4 integers random numbers
print-array
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 4, 2021
by
sharadyadav1986
rand_arr3 = np.random.randint(1,100,20)
print(‘\n random number from 1 to 100 ‘,rand_arr3)
Related questions
+2
votes
Q: How to Print Range Between 1 To 15 and show 4 integers random numbers
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-range
print-array
+1
vote
Q: How to use of reshape ex.1 starting value is 1 and ending value is 50, print 10 integer random numbers
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
print-array
+2
votes
Q: How to Print Range Between random number 2 row and 3 cols integers random numbers
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-range
0
votes
Q: Can you write a random integers function to print integers with in a range in Javascript?
asked
Oct 4, 2023
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
+1
vote
Q: insert 1 to 100 numbers and formated with 10*10
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
format-print
+1
vote
Q: print random number from 0 to 1
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
print-random-number
+1
vote
Q: use numpy to generate array of 25 random numbers sampled from a standard normal distribution
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
generate-array
+1
vote
Q: create 4*4 and print 0 to 12
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
create-array
+1
vote
Q: Print number from 1 to 10 using arange() function
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
print-arange
+2
votes
Q: Print the probabilty arr = [0.23, 0.09, 1.2, 1.24, 9.99] using fix() this example of fuzzy logic or probability
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
probability
...