I am currently working on a dna to protein translator. The code works pretty well. However, I\'d like to improve it with some if statements:
Here\'s the views.py code