Created
July 20, 2016 13:56
-
-
Save richardbwest/e250c64315cb577392ad31200a72977e to your computer and use it in GitHub Desktop.
Example of maths with brackets in Python
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
print((4 * 5) + 2) | |
print(4 * (5 + 2)) | |
#Try typing these lines above in to python | |
#Do the come up with the same answer or a different answer? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment