Expected A Function Expression Python Programming