+ 2
ProbabilityEventAnalysis_code review
please review my first program in Python for probability event analysis simulation model .. please comment and suggest bet way to do it.. Trying to learn python for statistical use. https://code.sololearn.com/cb41Nd5F9ej8/?ref=app
2 Réponses
0
For your first Python program, actually excellent :-)
Constructive Feedback:
1) Better variable names (they should be more meaningful)
2) Put comments in the code (comments should read as English, and not just describe the code)
3) Split up one long bit of code into functions. This allows unit testing, and makes the code more readable
4) Spellcheck, e.g. "Inersection of two Event OPION"
Impressive statistics!
0
thank you for your valuable feedback :)