Skip to content

Instantly share code, notes, and snippets.

@francoisstamant
Created May 28, 2022 15:29
Show Gist options
  • Save francoisstamant/0900eb1744f4bfba2d0d4d3b2c023f78 to your computer and use it in GitHub Desktop.
Save francoisstamant/0900eb1744f4bfba2d0d4d3b2c023f78 to your computer and use it in GitHub Desktop.
import sys
sys.path.append('LOCATION_OF_YOUR_FOLDER\name_of_file_with_code_to_reuse.py')
from Monte_Carlo_Simulation import Monte_Carlo
results = Monte_Carlo(iterations=1000, variables=['Salary','Location'],
weights=[0.6,0.4], grade=[[3,6],[8,8.5]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment