feat: add codewars kata highest and lowest /kata/554b4ac871d6813a03000035

This commit is contained in:
Claudio Cassani 2026-02-20 18:03:29 +01:00
parent 0d15409b59
commit d5e6e72775

View File

@ -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])