A while loop can have multiple conditions. To specify multiple conditions in a while loop, we use logical operators like AND, OR, and NOT to give multiple conditions to a while loop. We will see each logical operator with an example. Let's start with AND operator.