mid-term completed  

It's poor style to have a long one-line `if` statement like this because it makes your code less readable and harder to follow