Outline

Outline of Topics
1. Introduction to IDLE and Python (Andrew)

2. Introduction to Variables (Yulin)

a. Literals

b. Integers

c. Floats

d. String

e. Boolean

3. Math Operators (Dustin)

a. Power

b. Times

c. Divide by

d. Remainder

e. Add

f. Subtract

4. Operators with Boolean results (Yulin)

a. Compare

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">b. Does collection y hold x?

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">c. Any zero or empty value can be used as FALSE in a Boolean expression; other values mean TRUE.

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:14.2pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">5. Assignment (Dustin)

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">a. x,y = a, b is like x = a; y = b

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">b. x+= a is like x = x+a

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">c. x-= a is like x = x-a

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:14.2pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">6. Built-In fuctions (Yulin)

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">a. len

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">b. max

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">c. min

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">d. round (both ways listed)

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">e. sum

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:14.2pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">7. while control structure (Dustin)

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">a. all listed in guide

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:14.2pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">8. lists and tuples (Yulin)

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">a. a tuple has optional round brackets

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">b. A list has square brackets (required)

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">c. What you can do with a tuple (all)

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">d. What can you do with a list

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:70.9pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-9.0pt">i. X1.appends

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:70.9pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-9.0pt">ii. X1.insert

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:70.9pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-9.0pt">iii. x.1.reverse

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:70.9pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-9.0pt">iv. x1.sort

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:70.9pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-9.0pt">v. range (all listed)

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:14.2pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">9. for control structure (Dustin)

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">a. for item in xlist

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">b. for number in range * note: revise to just count numbers from 1 ??? 100.

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:14.2pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">10. Defining functions (Yulin)

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">a. def myFunc(num)

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">b. Multiple function arguments

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto">Note: do not worry about multiple function return values

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:14.2pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">11. if else blocks (Dustin)

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">a. if

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">b. elif

<p style="margin-top:0in;margin-right:0in; margin-bottom:0in;margin-left:49.65pt;margin-bottom:.0001pt;mso-add-space:auto; text-indent:-.25in">c. else