- Editing Readme files
- Checking in/out code
- Pushing and Pulling code to/from a repository
- Accepting & merging Pull Requests
- Loops
- Basic user input
- Conditionals and Booleans
- Basic string indexing
- Complete the Guess that number assignment from PJS.
- Check-in and Push the changes to your local repository
- Check-in and Push a screenshot of you playing the game
- Check-in and Push code from Module 0 and the pre-class.
- Accept Pull-Request with your grades from the previous assignment.
- Complete the Primer Guessing assignment described below.
- Check-in and Push the changes to guess_my_primer.py
- Check-in and Push a screenshot of you playing the Guess A Primer game.
- Place the screenshot in this Readme.md file so it properly displays.
- Add links to any resources used. This includes results of google-searches, Stack-Overflow posts, blog-posts, etc.
- Add a link to the repo to BBLearn as your "Assignment".
Dozens of molecular biology techniques use oligigonucleotide primers as fundemental tools to answer bioligical questions. These primers consist of short segments (15-45bp) of single-stranded DNA that researchers use to create short double-stranded segments of initially single-stranded DNA. In order for this annealing to happen, they must identically match the target sequence (technically it must match the reverse-complement, but we'll deal with that in Module 6).
Make a program using the Guess That Number as a template and make a guess_that_primer.py file in the Module02 directory.
Modify the code to have the following features.
- Replace the "guess a number" code with something that generates a random DNA string. Make the string 5 letters long.
- Provide the user with the number letters to guess.
- Check the user input against the target DNA string.
- If the user guesses correctly. Print a congrats and exit.
- If the user guesses incorrectly, Print the number of correct letters. Then allow another guess.
| Rubric | Score |
|---|---|
| Working Code | -/5 |
| PEP8 Compliant | -/5 |
| Comments | -/5 |
| Screenshot | -/5 |
| On Time | -/5 |
| Rubric | Score |
|---|---|
| Working Code | -/5 |
| PEP8 Compliant | -/5 |
| Comments | -/5 |
| Screenshot | -/5 |
| On Time | -/5 |
Final Grade: -/50