Skip to content

Instantly share code, notes, and snippets.

@richardbwest
Created July 20, 2016 13:56
Show Gist options
  • Save richardbwest/e250c64315cb577392ad31200a72977e to your computer and use it in GitHub Desktop.
Save richardbwest/e250c64315cb577392ad31200a72977e to your computer and use it in GitHub Desktop.
Example of maths with brackets in Python
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