Write a program to create a tuple with numbers and find the minimum and maximum values

Tech Programmer
0

 

Write a program to create a tuple with numbers and find the minimum and maximum values.


CODE FOR THE ABOVE PYTHON PROGRAM :




WRITTEN CODE FOR THE ABOVE PYTHON PROGRAM :


t = (10, 20, 30, 40, 50,)

print("Minimum value in tuple is:", min(t))

print("Maximum value in tuple is:", max(t))


OUTPUT :




Tags

Post a Comment

0Comments
Post a Comment (0)

Featured Highlighted Categories

You'll discover all of the most up-to-date bring innovative here.

Python List theory with List Programs
Get complete python lists theory and list basic and insane programs for your practice.
CBSE SAMPLE PAPERS
Get CBSE sample and question papers of last 7 years with answers to get best practice for your Board Exams
Python String theory and String Programs
Python strings complete theory with illustrations and practice programs for free