Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from random import random
- from math import log10
- def main():
- LAMBDA= int(raw_input('LAMBDA_>'))
- R=random()
- EXPO= float(-(log10(R))/LAMBDA)
- print EXPO
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement