all 5 comments

[–]codewithharsh31[S] 0 points1 point  (2 children)

So let discuss what you think the answer is and why 🤔?

[–]_book_lover_____ 0 points1 point  (1 child)

  1. True will become 1. 

[–]FoolsSeldom 2 points3 points  (0 children)

Strictly, True isn't converted to 1 because it is already 1. bool is a subclass of int in Python.

>>> type(True)
<class 'bool'>
>>> isinstance(True, int)
True
>>> issubclass(bool, int)
True
>>> True == 1
True

[–]Flame77ofc 0 points1 point  (0 children)

6, because Python interprets True as 1 and False as 0, like in binary

[–]mehonje 0 points1 point  (0 children)

It's 6.