Run Settings
LanguagePython
Language Version
Run Command
def find_min (arr): def loop (curr_min, curr_pos): if curr_pos >= len (arr) - 1: return curr_min elif curr_min > arr[curr_pos]: return loop (arr[curr_pos], curr_pos + 1) else: return loop (curr_min, curr_pos + 1) import sys return loop (sys.maxsize, 0) print(find_min([3, 5, 1, 7, -10, 9]))
Editor Settings
Theme
Key bindings
Full width
Lines
Info
Stdout
Stderr
Error