This assignment will give you the opportunity to get lots of practice using strings as well as start to work with dictionaries

computer science

Description

This assignment will give you the opportunity to get lots of practice using strings as well as start to work with dictionaries (you'll get a lot more practice with dictionaries on assignments 6 and 7 as well). You can download the starter code for this project under the “Assignments” tab on the CS106A website. The starter project will provide Python files for you to write your programs in. As usual, the assignment is broken up into two parts. 


The first part of the assignment focuses on some problems to give you practice writing functions with strings and dictionaries. The second part of the assignment is a longer program that uses strings to play a word guessing game (similar to the game Hangman, if you're familiar with that game). This is a complex task, but armed with the skills you've been honing, especially using decomposition, you’ll sail through.


Related Questions in computer science category