6 lines
137 B
Python
6 lines
137 B
Python
#Create a set
|
|
seta = set([5, 10, 3, 15, 2, 20])
|
|
#Find maximum value
|
|
print(max(seta))
|
|
#Find minimum value
|
|
print(min(seta)) |