Simple If Statement Python String Slicing