1.

What does 3 ^ 4 evaluate to?(a) 81(b) 12(c) 0.75(d) 7This question was posed to me in an online quiz.The query is from Numeric Types topic in division Variable Names, Operators, Data Types & Numeric Types of Python

Answer»

Correct option is (d) 7

For EXPLANATION: ^ is the Binary XOR OPERATOR.



Discussion

No Comment Found

Related InterviewSolutions