In Python, when using the "equals to" comparison operator (==) in an if statement, you cannot directly check for multiple values by using or or separate them with commas. However, there is a more concise way to achieve the desired functionality using the in operator. Here's an example:
if job in ["mechanic", "tech"]:
elif job in ["tool", "rock"]:
By creating a list of values within square brackets, you can use the in operator to check if the value of job exists in that list. This allows you to simplify the code and achieve the same result as the original code you provided.