Coding - Can't find the error

Might this be a case of needing to use the if/elif/else commands?