Which of the following expression evaluate to True? (Select two answers)
A)
B)
C)
D)
Answer : C, D
What is the expected output of the following snippet?
Answer : B
Which of the listed actions can be applied to the following tuple? (Select two answers)
Answer : A, D
A class constructor (Select two answers)
Answer : B, C
Python's built-in function named open () tries to open a file and returns:
Answer : C
What can you deduce from the following statement? (Select two answers)
str = open('file.txt', "rt")
Answer : A, D
You are going to read just one character from a stream called s. Which statement would you use?
Answer : D