Hi was doing booleans i think it said here that important. is this right topic or something else parenthesis are important why they important also?
Parentheses serve in many important roles:
- They delimit tuples; eg.
(2, 3, 7)
- They delimit a parameter list; eg.
def update(object, key, value):
- They permit grouping to dictate order of operations; eg.
2 * (length + width)
We use all of these in many different settings. If you are having trouble with a lesson where you are unable to interpret the parens, post back with your code so we can examine it.