Can 'and' operator take more than two arguements? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can 'and' operator take more than two arguements?

I am confused. Plz help pe pros

17th Apr 2020, 1:48 PM
anmol saxena
anmol saxena - avatar
3 Answers
+ 2
Where did that confusion come from? can you show the code that triggered the doubt?
17th Apr 2020, 2:31 PM
Ipang
+ 2
The and-operator is defined to take 2 arguments: (a and b) however we are free to nest within arguments like (a and (c or d))
17th Apr 2020, 3:35 PM
Lisa
Lisa - avatar
0
Thank u lisa
19th Apr 2020, 2:55 PM
anmol saxena
anmol saxena - avatar