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


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
Get step-by-step solutions from verified subject matter experts
