Split Function In Python For Input String