Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
int(string)
str(int)
string.int()
All of the above
function my_function():
def my_function():
define my_function():
func my_function():
string1.join(string2)
string1.concat(string2)
string1 + string2
What is the output of the following code?
print(7 % 3)
2
3
1
7
==
>
<
+
x = 5 y = "10" print(x + y)
15
510
TypeError
None of the above
!=
<=
<>
What is the result of the following code?
x = ["apple", "banana", "cherry"] print(len(x))
5
6
p
x = 1
y = "Hello"
z = 3.14
2 = a
Integer
Float
Double
String