and - A logical operator

Returns true if both sides of the "and" are true.

Example

Python
name = 'Joe'
age = 25
isItJoe = name == 'Joe' and age <= 25
print(f'Is it Joe: {isItJoe}')

Output

Is it Joe: True