Question 1: What should you use to execute the Python statement and see the output?
Question 2: What is not true about the bind()
method in TKinter GUI Widget library?
Question 3: Which of the following symbols stores the result of the last evaluation?
Question 4: Which of the following Python objects is not iterable?
Question 5: Which function should be used to change 'how are you?'
to 'How Are You?'
?
Question 6: Which symbol is NOT defined as a string operator?
Question 7: Which of the following is an invalid list object?
Question 8: Set is:
Question 9: What will be the output of the following code?
nums = {"ONE":1, "TWO":2}
print(nums["One"])
Question 10: What will be the output of the following code?
years={1995:'Java', 1972:'C', 1994:'Python'}
print(years.get(2000) )
Question 11: What will be the output of the following code?
s = set('Hello')
print(s)
Question 12: What will be the output of the following program?
s1={1,2,3,4,5}
s2={4,5,6,7,8}
print(s1|s2)
Question 13: What will be the output of the following code?
>>> emp = {}
>>> type(emp)
Question 14: What is true about the elif keyword:
Question 15: else keyword can be used along with