r/PythonLearning • u/clcodingupdates • Oct 31 '26
Python Quiz of the Day!
What will be the output of the following Python Code?
print(len({True, 1, 1.0, False, 0}))
4
Upvotes
r/PythonLearning • u/clcodingupdates • Oct 31 '26
What will be the output of the following Python Code?
print(len({True, 1, 1.0, False, 0}))
View all comments
Show parent comment
1
u/Responsible-Age9224 Nov 01 '26
Thanks for explaining