Python Programming - Conditional Statements - Discussion
Discussion Forum : Conditional Statements - General Questions (Q.No. 18)
18.
Which of the following is used to compare both value and type?
Answer: Option
Explanation:
The
is
keyword is used for object identity, checking if two variables refer to the same object in memory. It compares both value and type.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers