Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
gDistUnif.py
alduncin
Jul 3rd, 2013
147
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
from
random
import
random
def
main
(
)
:
a
=
int
(
raw_input
(
'A_>'
)
)
b
=
int
(
raw_input
(
'B_>'
)
)
R
=
random
(
)
x
=
float
(
a+R*
(
b-a
)
)
unif
=
x
print
unif
main
(
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Scribblenauts Unlimited - 100% Speedrun Itali...
3 hours ago | 24.46 KB
fe7_hhm_ironman
7 hours ago | 1.71 KB
Untitled
2 days ago | 0.68 KB
The Road Not Taken
3 days ago | 0.79 KB
OG OLDHAM CODE
5 days ago | 27.75 KB
remove current bid and bid now button from au...
PHP | 5 days ago | 0.80 KB
AppUseUA
JSON | 5 days ago | 0.27 KB
Notices blood
6 days ago | 0.81 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!