Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a5405ec

Browse files
Update quadratic.py
CODEZILA | codePy
1 parent a205f05 commit a5405ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎Basic/quadratic.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# * Written By Codezila.org at 17-03-2020 10:08AM (IST)
12
# import complex math module
23
import cmath
34
a = float(input('Enter a: '))
@@ -10,4 +11,5 @@
1011
# find two solutions
1112
sol1 = (-b-cmath.sqrt(d))/(2*a)
1213
sol2 = (-b+cmath.sqrt(d))/(2*a)
13-
print('The solution are {0} and {1}'.format(sol1,sol2))
14+
print('The solution are {0} and {1}'.format(sol1,sol2))
15+
print('\n\tCode By codezila.org :)\n\tJoin Us On : <github.com/codezila-org>\n\tFor More Mail Us : <contact@codezila.org>')

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /