CS111A Project 04 Sequences and For Loops - Due Tue Oct 06 at 23:00
Reading
- Slides and notebooks from the Sequences and For Loops lectures]
- Advanced
forloop covered in Lab 05 - Material from the While Loops lecture is still relevant.
-
Optional reading from the Think Python book:
About this Project
This project will give you practice with using for loops and two new types of sequences
that you've learned about in addition to strings: lists and ranges. You will also sometimes
continue to need while loops along with for loops.
Tasks
For this project you must do all three of the following tasks.
-
Task 1: Word Guesser Use
whileandforloops to implement a word guessing game. For this task, having a partner is optional but recommended. -
Task 2: Genetic Sequences Use loops to write some functions that process strings representing RNA sequences. This is an individual task that you must do on your own.
- Task 3: Concentric Circles Write turtle graphics code involving loops to draw concentric circles. This is an individual task that you must do on your own.
How to Submit this Project
Note: Do not submit your task files until after you have reviewed the grading feedback from Project 03.
Drag and drop all of the following three files into the CS111A Gradescope Project04 assignment.
wordGuesser.py(from Task 1)genetics.py(from Task 2)circles.py(from Task 3)
You may resubmit as many times as you like, but in each resubmission you must include all three files.