The input function of my code is repeating 3 times before going onto the next function. I have tried using while true and break and return None but none of that helps.