Question: Consider the following piece of code: Module for simple mathematical calculations 1 class calculate: n tmptements simple maths functions
Consider the following piece of code:
Module for simple mathematical calculations"
class calculate:
ntmptements simple maths functions" n:
def addnum num
Add two numbers".".
b anumnum
f print the result
print'Result is a
What does line represent?
A
Function docstring
B
Class docstring
C
Module docstring
D Code comment
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
