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

Exercise 1.11. (Python Augmented Assignment Operators)

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


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 >>

 Donate >>

Affiliated link: https://www.techsmith.com/all-products/