Question
Using Python Jupyter notebook, do the following programs: a) Open a Jupyter notebook and save it with your name. b) For each question add a
Using Python Jupyter notebook, do the following programs:
a) Open a Jupyter notebook and save it with your name.
b) For each question add a comment to specify its number.
c) Submission using Moodle.
1. Write a NumPy program to replace "PHP" with "Python" in the element of a given array.
2. Write a NumPy program to generate five random numbers from the normal distribution
3. Write a NumPy program to create a 3x3 matrix with values ranging from 2 to 10.
4. Write a Python program to sum all the items in a list.
5. Write a Python program to get the smallest number from a list.
6. Write a Python program to append a list to the second list.
7. Write a Python program to reverse a string.
8. Write a Python program to append text to a file and display the text
9. Write a Python program to read a given CSV file having tab delimiter. (create an CSV file named as countries.csv using countries.txt)
10. Write a NumPy program to add, subtract, multiply, divide arguments element-wise.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started