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}))
6
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
0
u/farm_do1 Nov 01 '26
my answer is 2