Programming Lab
Home
About Us
Contact Us
Privacy Policy
Basic Python Program -2
Write a program to display sum of two complex numbers.
a=10
b=3
c=20
d=-5
print(complex(a,b)+complex(c,d))
c1=10+2j
c2=30-1j
c3=c1+c2
print(c3)
Home
Subscribe to:
Posts (Atom)