---
# System prepended metadata

title: Python Exercise 8
tags: [python2021]

---

# Python Exercise 8
###### tags: `python2021`

## Exercise 8-1. 
Define a function that converts a positive integer (0-100) to a character according to the table below. Do not use if/else.



| Input   | Output |
| --------| ------ |
| 90-100  | A      |
| 80-89   | B      |
| 70-79   | C      |
| 60-69   | D      |
| 0-59    | F      |

## Exercise 8-2. 

Provide there are the following sequences

```

AGCCCTAUGCCAGGACAGGCTGCATCAGAAGAC
CTCTGCAGCAGGGAGGAAUGCGTGGCTGGGCTCGTGAAGCATGTGGGGGTGAGCCCT
AUGGGCCATCAAGCAGGTCTGTTCCAAGGGCCTTTGCGTCAG
GGCAGCCCCACACCCGCCGCCTCCTGCACCGAGAGAGATGGAATAAAGCCCAUGTTGAAC
GGGCTCAGGATTCCAGGGTGGCTGGACCCCAUGAGGCCCCAG
```
Create a dictionary that pairs the sequences with the sequence and index position of their start codon (AUG). Print the dictionary directly in your terminal.