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

Exercise 1.10. (Python Assignment Operators)

the_basics_lesson_10_exercise.pdf
File Size: 267 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 from the following program?
Picture

3. What is the output from the following program?
Picture

4. What is the output from the following program?
Picture

5. What is the output from the following program? Please note the negative value of the variable y.
Picture

6. What is the output from the following program?
Picture

7. Check your own workings to the questions outlined in steps 2 to 6 by entering each program in turn and running each program to see if the actual output is as you predicted.

END    Next Exercise >>

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