Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
kilolilo
Oct 25th, 2017
90
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
from
math
import
sqrt
def
kv
(
a
,
b
,
c
)
:
d
=
b*b-
4
*a*c
if
(
d
<
0
)
:
print
"d<0"
return
x1
=
(
-b+sqrt
(
d
)
)
/
(
2
*a
)
x2
=
(
-b-sqrt
(
d
)
)
/
(
2
*a
)
if
(
d
==
0
)
:
x1
=
-b/
(
2
*a
)
print
x1
print
x1
,
x2
kv
(
2
,
-
2
,
13
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Splah Layout
XML | 16 min ago | 0.31 KB
AI-GENERATE2.pyw
Python | 49 min ago | 3.50 KB
(autohotkey) bouncing deskop cat friend
Autohotkey | 1 hour ago | 3.07 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Gerenciador de Senhas Version 1.0
Python | 2 hours ago | 6.77 KB
Bash script to update T-Mobile Router Config
Bash | 2 hours ago | 3.82 KB
wheat_harvester
Lua | 2 hours ago | 1.94 KB
Most Writer B (Novely)
Dart | 3 hours ago | 0.29 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!