Rutul Saraiya
02/14/2024, 5:50 PMmark_johnston
02/14/2024, 6:34 PMRutul Saraiya
02/18/2024, 5:42 AMRutul Saraiya
02/18/2024, 3:51 PMmark_johnston
02/18/2024, 8:18 PMAND
should be and
):
$ python
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> id = 2
>>> department = 'Account'
>>> department == 'Account'
True
>>> id == 2
True
>>> department == 'Account' AND id == 2
File "<stdin>", line 1
department == 'Account' AND id == 2
^^^
SyntaxError: invalid syntax
>>> department == 'Account' and id == 2
True
I would recommend learning Python if you can!Rutul Saraiya
02/19/2024, 6:05 AM