Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
Which operator is used for concatenation of two strings in Python?
+
-
*
/
What is the output of the following code?
a = 5 b = 2 print(a // b)
2.5
2
3
3.5
a = 2 b = 3 print(a ** b)
5
6
8
9
x = 5 y = 2 print(x // y)
==
=
!=
<>
//
%
**
^
x = 5 y = 2 print(x > y)
1
0
Error
None of the above
a = 10 b = 3 print(a % b)
10