File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# * Written By Codezila.org at 20-03-2020 1:26AM (IST)
12
# Find square root of real or complex numbers
23
# Importing the complex math module
34
import cmath
@@ -8,4 +9,5 @@
89
#num = eval(input('Enter a number: '))
910

1011
num_sqrt = cmath.sqrt(num)
11-
print('The square root of {0} is {1:0.3f}+{2:0.3f}j'.format(num ,num_sqrt.real,num_sqrt.imag))
12+
print('The square root of {0} is {1:0.3f}+{2:0.3f}j'.format(num ,num_sqrt.real,num_sqrt.imag))
13+
print('\n\tCode By codezila.org :)\n\tJoin Us On : <.com/codezila-org>\n\tFor More Mail Us : <[email protected]>')

0 commit comments

Comments
 (0)