Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
What is Python?
A high-level programming language
A database management system
A low-level programming language
A markup language
string1.join(string2)
string1.concat(string2)
string1 + string2
All of the above
What is the output of the following code?
print("Hello" + " World")
Hello
World
Hello World
Type Error
Integer
Float
String
List
file = open(filename, "r")
file = open("r", filename)
file = open(filename, "w")
None of the above
function_name(arguments):
def function_name(arguments):
function_name(arguments)
dict.contains(key)
dict.has_key(key)
key in dict
dict.get(key)
list.remove(element)
list.pop(element)
del list[element]
file.readline()
file.read(line)
read(file, line)
file.read()
x = 5 y = "10" print(x + y)
15
510
TypeError