Question: Write a program that imports the function pivalue and variable shapes from the module Module _ Imp 3 . Follow the below instructions. Call the
Write a program that imports the function pivalue and variable shapes from the module ModuleImp
Follow the below instructions.
Call the function pivalue which prints the pi value.
Take an integer input from the user
Use the variable shapes and print the shapes between and the user value given in the console and prints the list of shapes
Note: The ModuleImp with the functions and variable is already written for you Just use it
Test case
Pivalue:
n
square 'triangle', 'rectangle'
Sample input
P vaiue:
Sample output
n:
square 'triengle', 'rectangle'
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
