Difference between revisions of "Python Workshops for Beginners/Saturday September 27th homework"

From OpenHatch wiki
Jump to navigation Jump to search
imported>Ynasser
imported>Ynasser
Line 1: Line 1:
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.
+
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 ==
 
== Setup ==
Line 8: Line 10:
 
== Shakespeare Exercises ==
 
== Shakespeare Exercises ==
   
  +
'''Exercise 1'''
== Wordplay Exercises ==
 
  +
Write a program
  +
  +
'''Exercise 2'''
  +
 
== Wordplay Exercises ==
  +
Here's a [https://openhatch.org/wiki/Wordplay_handout link] to the Wordplay handout if you need a review.
  +
  +
  +
'''Exercise 3'''
  +
  +
'''Exercise 4'''

Revision as of 05:31, 18 October 2014

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