Q36
Computer ScienceChapter 04c: Python — Modules, Packages & Libraries
Question No. 36 (Group D)
Problem Statement
Create a module calculator.py with two functions, square(num) and cube(num). Show how another program would import this module and display the square and cube of a number.
High Frequency SEE Question Difficulty: Moderate