What is the return value of trunc()?
Keywords in python are?
If ABC is a list, how do you find the last element of it?
Which of the following programming languages is interpreted rather than compiled?
Which of the following is an invalid variable name in Python?
def func(a, b=[]):
b.append(a)
return b
print(func(1))
print(func(2))
Which of the following results in a Syntax Error?
Which of the following functions results in an error?
What will be the output of the following Python code?
d = {0: 'a', 1: 'b', 2: 'c'}
for x, y in d.items():
print(x, y)
Which are the two built-in functions to read a line of text from standard input, which by default comes from the keyboard?