Commit bf030c6e authored by Vishwajeet404's avatar Vishwajeet404

changes

parent 20c6adca
......@@ -63,7 +63,7 @@ class ComplexNumber:
def mysquare(variable):
return variable*variable
a = ComplexNumber(1,1)
a = ComplexNumber(3,4)
print(a)
b = ComplexNumber.mysquare(a)
print(b)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment