Python Workshops for Beginners/Saturday October 25th review: Difference between revisions
Content added Content deleted
imported>Ehashman |
imported>Ehashman |
||
Line 22: | Line 22: | ||
## Write a function <tt>hello</tt> in 'exercise1.py' |
## Write a function <tt>hello</tt> in 'exercise1.py' |
||
## Debugging common problems with code |
## Debugging common problems with code |
||
## String matching <pre>words = ['zebra', 'weather', 'spaghetti', 'pierogies', 'squash', 'zucchini', 'pizza']</pre> |
|||
## String matching |
|||
## Dictionary exercise from Shakespeare |
## Dictionary exercise from Shakespeare |
Revision as of 23:35, 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
- Review from last time
- variables
- strings
- if
- functions
- lists
- for loops
- raw_input()
- dictionaries
- using a module
- Review exercises
- Write a function hello in 'exercise1.py'
- Debugging common problems with code
- String matching
words = ['zebra', 'weather', 'spaghetti', 'pierogies', 'squash', 'zucchini', 'pizza']
- Dictionary exercise from Shakespeare