main.py 356B

12345678910111213
  1. #! /usr/bin/env python3
  2. import math
  3. import numpy as np
  4. import pandas as pd
  5. import MagnaSim as MaSi
  6. pop = MaSi.Populations(10)
  7. trans = MaSi.Transaction()
  8. for i in pop.population:
  9. x = np.random.normal(i.magna_wallet_btc[0],i.magna_wallet_btc[1])
  10. trans.btc+=1
  11. print(abs(x))
  12. print("Nombre de BTC : {:f}".format(MaSi.fees_btc(trans.btc)*0.0000001))