Sep-22-2017, 05:34 PM
(Sep-21-2017, 03:15 AM)ralfi Wrote:List = ["1","2","3","5" ] while True: print("hello") number = (int(input("give me a number? ") ^ ^ ^ ^
You open three parenthesis, but only close one of them. A statement is illegal inside of parentheses, which is why you get a syntax error pointing at the if statement you try to include inside the parentheses.