1 2 3 4 5 6 7 8 9 10 11 12 13
from math import sqrt while True: seeders = float(raw_input("Seeders:")) size = float(raw_input("Size(MB):")) if seeders < 5: seeders = 5 if size < 10: print 0.1/(size/1024)/(sqrt(seeders+4)/3) else: print 1/sqrt(size/1024)/(sqrt(seeders+4)/3)
You can clone a snippet to your computer for local editing. Learn more.