Scientific Computing with Python Projects - Arithmetic Formatter only printing out first arithmetic function

Good afternoon everyone

I am having trouble with trying to figure out why when I run my arithmetic formatter, I only print out the first function instead of the entire list. I am new to Python so unfortunately I am not very good.

My code so far:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36

Challenge: Scientific Computing with Python Projects - Arithmetic Formatter

Link to the challenge:

What have you tried so far? Do you have any suspicions what’s causing it?