diff --git a/src/highest_and_lowest.py b/src/highest_and_lowest.py new file mode 100644 index 0000000..2ea1826 --- /dev/null +++ b/src/highest_and_lowest.py @@ -0,0 +1,9 @@ +def high_and_low(numbers): + s = numbers.split() + lst = [] + + for i in s: + lst.append(int(i)) + lst.sort() + + return str(lst[-1]) + " " + str(lst[0])