0

Python.just find the answer☺️☺️☺️ and tell me how it comes.

Print(6^3)

12th Oct 2021, 5:28 AM
SIDDHARTH A
SIDDHARTH A - avatar
7 Respostas
+ 3
Hi SIDDHARTH! This(^) is called EXclusive OR(XOR), a bitwise operator. It returns true only when two bits are different means if the bits are the same, 0 is returned otherwise it returns 1. Here, 6^3 6 -> 00000110 3 -> 00000011 ______________ 00000101 -> 5 So, output is 5
12th Oct 2021, 5:47 AM
Python Learner
Python Learner - avatar
+ 2
Dholu Hunn your's is wrong see python learner's answer
14th Oct 2021, 4:16 AM
SIDDHARTH A
SIDDHARTH A - avatar
+ 2
6^3 is just 6*3 hence it is 6×6×6 which is equal to 216
9th Mar 2022, 10:12 AM
Kaarthik Arun
Kaarthik Arun - avatar
+ 1
216??
12th Oct 2021, 5:31 AM
Jason Kennedy
+ 1
Nope.
12th Oct 2021, 5:36 AM
SIDDHARTH A
SIDDHARTH A - avatar
+ 1
Ha😊JUMP_LINK__&&__Python__&&__JUMP_LINK Learner .your answer is correct 👍👏👏👏🤝
12th Oct 2021, 5:48 AM
SIDDHARTH A
SIDDHARTH A - avatar
14th Oct 2021, 4:26 AM
Dholu Hunn
Dholu Hunn - avatar