What does 'and' and 'or' do in conditions?

Asked by blessing007 · 6 months ago

1 Answer

23
amorebise · 6 months ago Top Answer

These are logical operators. and means both must be true. "If I have data AND my battery is charged, I can use Google Colab."

or means at least one must be true. "If I have a laptop OR a smartphone, I can learn to code." Use them to build more complex rules for your programs.

Log in to add a comment.