Operator in Python MCQs Exercise II
Ques 1
Operator
Which of the following are a ceil and floor division?
A % and %%
B %% and %
C / and //
D // and /
Ques 2
Operator
Arrange according to Precedence in ascending order.
1)or 2)and 3)& 4)lambda
A 4,1,2,3
B 3,1,2,4
C 4,1,2,3
D None of these
Ques 3
Operator
What is the output of the following Code?
x=2
y=2
z=2
print(x**y**z,end='')
print((x**y)**z)
A 256 256
B 256 65536
C 65536 256
D 65536 65536