Which of the following lines of code results in a compilation error?
1. c1 = { 'A' : 'B', 'C' : 19 }
2. c2 = { 'ID' , 47 }
3. sequ = ('A', 'C', 'D')
4. c1.update(c2)
5. print (str(c1))
6. ct = dict.fromkeys(sequ,5)
7. print (str(ct))
Correct Answer:
Line number 1
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Python MCQ Questions