Created
July 9, 2022 04:05
-
-
Save vesche/54e004ace7f6a34fbf30ecd03d15ef78 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
print('OoT Dampe Heart Piece Cumulative Probability\n') | |
print('\t'.join(['try', 'probability', 'equation'])) | |
for i in range(1, 99): | |
print('\t'.join([ | |
f'{i:<4}', | |
f'{str(round((1-(9/10)**i)*100, 3))+"%":<12}', | |
f'1 - (9/10)**{i}', | |
])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment