fix(r-1.3_scratch.py): correctly formatted input and output
This commit is contained in:
@@ -10,8 +10,9 @@ function itself.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def minmax(*data):
|
def minmax(*data):
|
||||||
data = sorted(data)
|
ordered = sorted(data)
|
||||||
print(tuple(data[0], data[-1]))
|
data = (ordered[0], ordered[-1])
|
||||||
|
print(data)
|
||||||
|
|
||||||
|
|
||||||
minmax(24, 3, 84.26, -15)
|
minmax(24, 3, 84.26, -15)
|
||||||
Reference in New Issue
Block a user