Commit 9630df26 authored by Vishwajeet404's avatar Vishwajeet404

changes

parent bf030c6e
...@@ -63,9 +63,4 @@ class ComplexNumber: ...@@ -63,9 +63,4 @@ class ComplexNumber:
def mysquare(variable): def mysquare(variable):
return variable*variable return variable*variable
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