Q. Consider the following expression.

 

x = "and" * (3 + 2) > "or" + "4"

 

What is the data type of value that is computed by this expression?

 

Answer =

 

>>> x = "and" * (3 + 2) > "or" + "4"

>>> x

False

>>> type(x)

<class 'bool'>

>>> 

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post