If statement Python

Easy question. Why is this if statement not working?