we are aware that the terminal is having issues, at this time the text in the terminal is only visible in night mode
I would not expect any test to pass with your code
all your functions are defined this way, which is not allowed and causes syntax issues
you may want to review about how functions work, and how to define function parameters
also it looks like you have hard-coded conditionals or variables that check for specific expected values. That is not solving this problem in the general case. Imagine if you were given different input values. Would your code be able to solve those problems?
To find out more about what hard-coding is or about why it is not suitable for solving coding questions, please read this post: Hard-coding For Beginners
Let us know if you have a question about how to make your code more flexible.