Question: python function b) Write a Python function that can receive an array of floating values, calculate the square value of each item in the array

python function

python function b) Write a Python function that can receive an array

of floating values, calculate the square value of each item in the

b) Write a Python function that can receive an array of floating values, calculate the square value of each item in the array and sort it as ascending order. (5 marks) a) Write a Python function to count the word in a given string and calculate the frequency of words in the list. (5 marks) b) Write a Python function that can reverse a given string as its parameters. Example Input : str = Output : str "one two three four" "four three two one

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!