Computer Science, asked by issranirakshita8009, 1 month ago

.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 vijayakumarchinthala
1

Answer:

tuple() instead of {}

Explanation:

Refer the attachment for the code

Attachments:
Answered by bordoloibubul183
1

Answer:

t=tuple()

____________

Similar questions