<filename>a.8.6.py<gh_stars>0
#Script to accept one complex no. from user and display the greater number between real and imaginary part.
print("enter the values of real and imaginary part")
Re=int(input())
Img=int(input())
c=complex(Re + Img)

if(Re> Img):
    print(Re)
else:
    print(Img)

<filename>a.8.6.py<gh_stars>0
#Script to accept one complex no. from user and display the greater number between real and imaginary part.
print("enter the values of real and imaginary part")
Re=int(input())
Img=int(input())
c=complex(Re + Img)

if(Re> Img):
    print(Re)
else:
    print(Img)

#Script to accept one complex no. from user and display the greater number between real and imaginary part.