Created
May 11, 2018 17:16
-
-
Save sazid/48c5c1915765a64b38f9985bf91890f7 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
# We multiply 10s 4 times together to get 10000 | |
print(10*10*10*10) | |
print(2*2*2*2*2) | |
from math import log, ceil | |
print(log(10000, 10)) # how many times do we multiply 10 together to get 10000? | |
print(log(32, 2)) # how many times do we multiply 2 together to get 32? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment