Python Workshops for Beginners/Saturday October 25th review: Difference between revisions

From OpenHatch wiki
Content added Content deleted
imported>Ehashman
(Created page with "Welcome to the first review session for the Python Workshops for Beginners! We'll quickly go over the content from last class, work on exercises, and keep the floor open for q...")
 
imported>Ehashman
Line 5: Line 5:
* [[Python data types cheat sheet]]
* [[Python data types cheat sheet]]
* [[Python loops cheat sheet]]
* [[Python loops cheat sheet]]
* [http://csclub.uwaterloo.ca/~ehashman/pwfb/pwfb-2lec.pdf Full slides deck]
* [http://csclub.uwaterloo.ca/~ehashman/pwfb/pwfb-2rev.pdf Slides deck]


== Lecture Outline ==
== Lecture Outline ==

Revision as of 23:34, 21 October 2014

Welcome to the first review session for the Python Workshops for Beginners! We'll quickly go over the content from last class, work on exercises, and keep the floor open for questions to make sure everyone is on track for the morning lecture.

Resources

Lecture Outline

  1. Review from last time
    • variables
    • strings
    • if
    • functions
    • lists
    • for loops
    • raw_input()
    • dictionaries
    • using a module
  2. Review exercises
    1. Write a function hello in 'exercise1.py'
    2. Debugging common problems with code
    3. String matching
    4. Dictionary exercise from Shakespeare