Question
1. Is Python object-oriented programming? Write at least 100 words. 2. Create an array named after your first name which consists of the letters of
1. Is Python object-oriented programming? Write at least 100 words.
2. Create an array named after your first name which consists of the letters of your first name. I.e. Each element in the array is each letter in your name. Now, make a shallow copy of the array you created. Append the first letter of your last name to the original array. Print both the original array and the shallow copy. Examine if both the results are same or different.
3. Write a program that checks if a matrix is a Toeplitz or not?
4. Write a python program for the following scenario: Assume that you have a ten-by-ten matrix number_students where each row represents the name of the university and each column represents a department. Each cell of the matrix displays the number of students studying in that particular department at each university. Write a function named compute_percentages to return a ten-by -ten matrix that contains the portion of students studying in each department compared to the total number of students at each university.
can you please answer these questions?
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