Created
October 31, 2016 21:18
-
-
Save daniel-obrien/78c82691cf1e2657af74e7151e09f8c2 to your computer and use it in GitHub Desktop.
Percentages
This file contains 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
number1=int(input("Please enter the number you would like to find the percentage of")) | |
number2=int(input("Now enter the percentage, e.g. 50%")) | |
answer=(number1/100) | |
answer=(answer*number2) | |
print(answer) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment