217k views
0 votes
This is for computer science, please help, I don't understand this :(

This is for computer science, please help, I don't understand this :(-example-1
User Ramkumar
by
7.7k points

1 Answer

4 votes

Answer:

1- np.array(['A']) will result in ['A']

2- np.array([3.14, 7]) will result in [3.14,7]

3- np.arrange(2,8,1) will result in [2 3 4 5 6 7]

4- np.arrange(1,7,2) will result in [1 3 5]

This is for computer science, please help, I don't understand this :(-example-1
This is for computer science, please help, I don't understand this :(-example-2
User Jsist
by
7.5k points