Explain relational operators in python?



Explain relational operators in python?..

Answer / Pranveer Kumar

Relational operators in Python compare the relationship between values. They include < (less than), <= (less than or equal to), > (greater than), >= (greater than or equal to). For example: 1 < 2 returns True.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What is the best ide for python?

1 Answers  


Name few python web application frameworks?

1 Answers  


What is timestamp in python?

1 Answers  


What are literals in python?

1 Answers  


How do you get a list of all the keys in a dictionary in python?

1 Answers  


What is __init__?

4 Answers  


What is the meaning of immutable?

1 Answers  


What does ord () do in python?

1 Answers  


Why is python 2 still used?

1 Answers  


Explain the synbtax to split a string in python?

1 Answers  


How do you sort in descending order in python?

1 Answers  


What is slicing in python?

1 Answers  


Categories