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?
===
is
equals
in
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:

Your comments will be displayed after verification.