DevJourney

Python/VIT/sem-1/ex-03/realofcomplex.py

c = complex(input("Enter a complex number: "))
cr = c.real
print(cr)
View on GitHub