SYSC 1005 Midterm: Personal Notes (Things to Remember!)

255 views2 pages

Document Summary

Disclaimer: these are my personal notes, so they may or may not help you . I noted down things i found important that i would want to review later. Remember: (a//b)*b + (a % b) = a. When dividing two integers (ie. 40/4), it will return a float value (ie. When dividing two integers (ie. 40/4), it will return a float value (ie. 10. 0) All functions, if statements, for loops, etc have a : at the end of the header [ie. def all_secondary(img): The cimpl functions (set_color and create_color) are spelled without the u in color. // (floor) and / (division) have the same precedence in an entry. A tuple is listed with x[0] referring to the first num, x[1] referring to the second num, and so on. Once a function has executed, it deletes all frames and objects related to it. When the expressions involves an int and a float, the result will always be a float.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents