Question: Write a script that contains the following: (a) A function square (x) that returns the square of x: def square (x): return x**2 (b) A

Write a script that contains the following: (a) A function square (x) that returns the square of x: def square (x): return x**2 (b) A function print_square(x) that prints the square of x. def print_square(x): print(x**2) (c) Try out the follwing, add print statements that describe what you observe. (i) print(square (3)) (ii) print(square (3)+square (4) (iii) print (print_square (3)) (iv) print (print_square (3) +print_square (4))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
