Assuming that the V variable holds an integer value to 2, which of the following operators should be used instead of OPER to make the expression equal to 1?
V OPER 1
A. <<<
B. >>>
C. >>
D. <<
Assuming that the V variable holds an integer value to 2, which of the following operators should be used instead of OPER to make the expression equal to 1?
V OPER 1
A. <<<
B. >>>
C. >>
D. <<
C. >>
V=2
print(V>>1) # output: 1
print(V<<1) #output: 4
###### Correct Answer #### C
The correct answer is C.
print(2>>1) => output: 1