Skillshare intro to Python/Unit 4: Difference between revisions

no edit summary
imported>Jesstess
imported>Jesstess
No edit summary
Line 37:
=== Countries example ===
 
Here are the country names text file and Python script from the countries example from the file lesson:
 
* [http://web.mit.edu/jesstess/www/SkillsharePython/Unit5/countries.txt countries.txt]
Line 58:
Please download both files and save them to your Desktop. Open <code>wordplay.py</code>, see if you can guess what it does, and then run it!
 
Then, using the existing code as a template, <b>add code to the file to answer the following questions</b>:
* What are all of the words that contain "VV"?
* What are all of the words that contain "Q" without a "U"?
Anonymous user