Simple If Statement Python String Split Function In Python