Question: what is the difference between comparison operators and logical operators?
Answer: Comparison operators — operators that compare values and return true or false . ... Logical operators — operators that combine multiple boolean expressions or values and provide a single boolean output.