.Find the errors from the following code:
t=tuple{}
n=input(Total number of values in tuple)
for i in range(n)
a=input("enter elements")
t=t+(a,)
print "maximum value=",max(t)
print "minimum value=",min(t)
Answers
Answered by
1
Answer:
tuple() instead of {}
Explanation:
Refer the attachment for the code
Attachments:
Answered by
1
Answer:
t=tuple()
____________
Similar questions