Created
July 13, 2014 19:52
-
-
Save Deathnerd/180e2181fad0fe561443 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = 'deathnerd' | |
count = 0.0 | |
for i in range(1, 7): | |
for j in range(1, 7): | |
for k in range(1, 7): | |
if (i+j+k)*10 <= 60: | |
count += 1 | |
number_of_combinations = float(6*6*6) | |
print "Your character has a %.6f chance of being mentally retarded" % (count/number_of_combinations) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment