CISC106 Lecture Notes - Lecture 3: Increment And Decrement Operators
34 views2 pages
4 Mar 2019
School
Department
Course
Professor
Document Summary
Assignment statement = to associate a variable name a value. With that the 5 is ignored and 7 is not = to bruce. Initializing a variable - have to assign a value to a variable. Increment - adding a 1 to a variable. Decrement - subtracting 1 from a variable. Input = what is put into the system. Output = what comes out of the system (what is displayed on the screen, what is on file) Add a comma after print statement to have it print. Names set of statements that perform a specific task. There are some built in functions, functions in python libraries, and user created functions. If there are more than one, then separate with commas. Module = a file containing python definitions and statements intended for use in other python programs. Standard library = modules that come with python. Use dot notation to use something contained in module.