I am working on a python algorithm. I have a for loop and 4 if statements to pick out elements i want and combine them into a string.
My code is like this:
<