Python
Copy
# Example of logical operators
x
=
10
y
=
5
if
x
>
5
and
y
<
10
:
print
(
"Both conditions are true."
)