Find the output of the following Python code and choose the correct answer from the given options.
from string import Template
Student = [(‘X',24), ('Y',32), ('2',20)]
t = Template('$rn‘)
for i in Student:
print (t.substitute(n = i[0], m = i[1]‘3-1))
Correct Answer:
71
95
59
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Python MCQ Questions