0

Which one is right

k = (1,) j = (1,) print(j is k) in some ides like sublime text it is giving True but in some others it is giving False which one is true and why the other one is giving incorrect output

11th May 2020, 11:30 AM
Bhavuk Sharma
Bhavuk Sharma - avatar
3 Antworten
0
There is no chance for false here because both are identical . I tried in my ide also . can you mentione the name of Ide in which it is shown false
11th May 2020, 11:42 AM
Ayush Kumar
Ayush Kumar - avatar
0
O yes I got it the difference. Thanks you to lot 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 . And sorry for my wrong information
11th May 2020, 12:54 PM
Ayush Kumar
Ayush Kumar - avatar