5th Dec 2019, 7:35 AM
Đ˜Đ»ŃŒŃđŸ‡·đŸ‡ș
Đ˜Đ»ŃŒŃđŸ‡·đŸ‡ș - avatar
2 Answers
+ 3
You can't use this syntax: if var = int, int, int, ..., int: There is atleast 3 syntax errors: ~You are using = in a if expression. What did you want to do with "var = int, int, int, ..., int"? ~You lack a codeblock from an if statement. If you don't need to put any code in it, you can use pass keyword. ~Also var == x, y, z is invalid, you can use parentheses to make it a comparison with tuple. use: if var == (int, int, int, ..., int): pass or if var == (int, int, int, ..., int): pass
5th Dec 2019, 8:24 AM
Seb TheS
Seb TheS - avatar
+ 2
thank you very much
5th Dec 2019, 9:03 AM
Đ˜Đ»ŃŒŃđŸ‡·đŸ‡ș
Đ˜Đ»ŃŒŃđŸ‡·đŸ‡ș - avatar