On Tue, 3 Jan 2017 16:02:15 -0800 (PST), Callum Robinson <cr2001 at 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 wlfraed at ix.netcom.com HTTP://wlfraed.home.netcom.com/