Differentiate between Relational Operator and Logical Operator in python.
Answers
Answered by
1
Answer:
Relational operators compare values and return either TRUE or FALSE. Logical operators perform logical operations on TRUE and FALSE. Values used with a logical operator are converted into booleans prior to being evaluated. For numerical values, zero will be interpreted as FALSE, and other values will be TRUE.
Similar questions
Computer Science,
3 hours ago
English,
3 hours ago
Social Sciences,
5 hours ago
English,
8 months ago