On Tue, 3 Jan 2017 16:02:15 -0800 (PST), Callum Robinson
<cr2...@hotmail.co.nz> declaimed the following:

>When i check the code it comes up with invalid syntax and my writing line gets
re directed here
>
>def is_same(target, number:
>        if target == number:
>            result="win"
>        elif target > number:
>            result="low"
>        else:
>            result="high"
>        return result

        Count your parentheses... You should have the same number of ) as you
have (

--
        Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfr...@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to