Home / Programming MCQs / Python MCQs / Question
R
Q. What is the output of the following program?
temp = dict() temp['key1'] = {'key1' : 44, 'key2' : 566} temp['key2'] = [1, 2, 3, 4] for (key, values) in temp.items(): print(values, end = "")
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
In which language is Python written?
Given a string example=”hello” what is the output of example.count(‘l’)?
Point out the invalid variable
What will be the output of the following Python code?
If return statement is not used inside the function, the function will return:
Mathematical operations can be performed on a string.
What is the output of the following Python code?
Discusssion
Login to discuss.