Python Workshops for Beginners/Saturday September 27th homework

From OpenHatch wiki
< Python Workshops for Beginners
Revision as of 05:31, 18 October 2014 by imported>Ynasser
Jump to navigation Jump to search

Hopefully you haven't forgotten too much from the last few sessions. Here are some homework problems you should try out before the next session on October 25. The exercises are based on the Shakespeare and Wordplay exercises from last time. Regardless of which afternoon session you attended, you should be able to do both, unless otherwise specified.

Remember: indentation in Python matters!

Setup

  • Download PWFB-homework.zip
  • Unzip the file
  • Use the command line to navigate into the directory PWFB-homework

Shakespeare Exercises

Exercise 1 Write a program

Exercise 2

Wordplay Exercises

Here's a link to the Wordplay handout if you need a review.


Exercise 3

Exercise 4