PythonByteSize
  • Home
  • Videos
  • Video List (Website)
    • The Basics
    • Python Program Structures
    • Python Operators
    • Python Functions
    • Introduction to Classes and Objects
    • Python Strings
    • User Defined Functions
    • Classes and Objects
    • Python Dictionaries
    • Python tkinter
  • Video List (YouTube)
    • The Basics
    • Python Program Structures
    • Python Operators
    • Python Functions
    • Introduction to Classes and Objects
    • Python Strings
    • User Defined Functions
    • Classes and Objects
    • Python Dictionaries
    • Python tkinter
  • Exercise List
  • Donate
  • Educators
  • Contact
  • Computing Topics
  • Mathematics

the_basics_lesson_11_exercise.pdf
File Size: 251 kb
File Type: pdf
Download File

Lesson 11 Exercise (Python Augmented Assignment Operators)

1. Ensure you have viewed the video (associated with this exercise) at this link
2. What is the output of the following program?
Picture
3. What is the output of the following program?
Picture
4. What is the output of the following program? Please note the negative value of the variable y.
Picture
5. What is the output of the following program?
Picture
6. Check your own answers to questions 2 to 5 by entering and running each program in turn to see if the actual output is as you predicted.
END   Next Exercise >>
If you have found my Python videos useful please consider donating to help towards the costs incurred in their production - thank you.
PicturePatreon