PythonByteSize
  • Home
  • Video Index
    • 1. The Basics
    • 2. Python Program Structures
    • 3. Python Operators
    • 4. Python Functions
    • 5. Introduction to Classes and Objects
    • 6. Python Strings
    • 7. User Defined Functions
    • 8. Classes and Objects
    • 9. Python Dictionaries
    • 10. Python tkinter
    • 11. Python Lists
    • 12. Python Namespaces
    • 13. Turtle Graphics
    • 14. Python Tips
  • Exercise Index
    • 1. The Basics Exercises
    • 2. Python Program Structures Exercises
    • 3. Python Operators Exercises
    • 4. Python Functions Exercises
  • Educators
  • Donate
  • Contact
  • Computing Topics
  • Mathematics
  • About

Exercise 3.6. (Pythons % Operator)


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

2. Indicate the output that will appear on the Visual Display Unit for each of the following programs. Check your own answers by copying the code, pasting them into your Python editor and executing the programs.
Exercise 3.6 Example 1

    
Exercise 3.6 Example 2

    
Exercise 3.6 Example 3

    
Exercise 3.6 Example 4

    
Exercise 3.6 Example 5

    
Exercise 3.6 Example 6

    

END    Next Exercise >>

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