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"]:
print("awesome")
elif job in ["tool", "rock"]:
print("dolt")
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.