Hi Callum, On 04/01/17 00:02, Callum Robinson wrote: > 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
OK, good. That implies it's something wrong with the function definition ('def'). Look at that very carefully :) (*) E. (*) My emoticon may give you a hint ... -- https://mail.python.org/mailman/listinfo/python-list