What will be the output of :- 1.print 5=='5'
2.print '5'=="5"
3.print 5==5.0
Answers
Answered by
0
Answer:
1.Error
2.True
3.True
Explanation:
1.Can't compare string and int.
2.Both are string
3.Int and float are of same data type in python
Similar questions
Business Studies,
5 months ago
English,
5 months ago
Math,
5 months ago
Social Sciences,
10 months ago
Math,
1 year ago
English,
1 year ago