PythonByteSize
  • Home
  • Detailed Videos
  • 1-Minute Videos
  • Exercises
  • Donate
  • Computing Topics
  • Mathematics
  • Educators
  • Contact
  • About

Exercise 3.9. (Operator precedence)


1. Ensure you have viewed the video (associated with this exercise) at this link >> 

2. A computer programmer will often use brackets when they are not technically needed. Why is this the case?

3. Browse the website and obtain a table that will show the order of precedence for all Python operators.

4. Before you copy, paste and execute the program below predict the programs output.
Exercise 3.9 Example 1

    

END    Next Exercise >>

Please consider donating to help with the costs incurred in developing this website.             Donate >>