+ 3

"and" and "or"

Are the "and" and "or" (used in Python) with the "if" function called operators, functions or statements?

5th Mar 2018, 7:47 PM
arbaaz
3 Answers
+ 3
They’re logical operators!
5th Mar 2018, 8:00 PM
Sergiu Panaite
Sergiu Panaite - avatar
+ 2
they can be used with the if statement but are not limited to it.
5th Mar 2018, 7:58 PM
Obbu
Obbu - avatar
0
Thank you for your answers.
7th Mar 2018, 9:08 PM
arbaaz