Program to find maximum and maximum value in a set.

Code:

A = {0, 2, 4, 6, 8, 10};

print("Set: ",A)

print("Minimum:",min(A))

print("Maximum:",max(A))

 

Output:

Comments

Popular posts from this blog

State use of pep and pip