Python 3 Commands

- Newtons Method with Python. Newtons Method in Sage with Python.
- Using For Loops In Sage The basics of using a Python For Loop in Sage.
- Using While Loops in Sage The basics of using a Python While Loop in Sage.
- Iteration, Tables, and String Formatting. One easy way to print a table with a
`for`loop is to use string formatting. - Creating Subroutines and Functions in Sage Making custom subroutines in Sage.
- Using If Statements in Sage Writing If Statements in Sage.
- Intro to Boolean Logic An overview of Boolean (true/false) logic.
- Raising Exceptions And Error Messages in Subroutines How to raise an exception in a subroutine.
- Numerical Python Data Types Primitive numerical data types in Python.
- Strings, Lists and Tuples in Python Basic concepts of strings, lists and tuples in Sage.

#### Lists in Python

- Declaring Lists in Sage Declaring a list in Sage.
- Accessing Specific List Members Using a list index to access a specific list member.
- Concatenating Lists Applying the concatenation operator to combine two or more lists.
- Finding the length of a list Using the
`len()`command to find the length of a list. - The 'in' keyword Using the
`in`keyword to determine if a value is present in a list. - Finding the Index of an Item Using
`.index`to find the index of an item in the list. - Using For Loops to Iterate Through Lists Using
`for`loops in sage to iterate through a list's content. - The Sum and Prod Commands Python's
`sum()`and`prod()`commands. - Removing Items From Lists How to remove an item from a list.
- Appending Items to Lists Adding items to a list in Sage.
- Rearranging Lists Using the
`sort`,`shuffle`and`reverse`methods to rearrange lists.