Example_for_loop

Run Settings
LanguagePython
Language Version
Run Command
def sum_greater_than(numbers, n): list = [2,5,8,9,10,12,34,9,4,55] sum = 0 for val in list: if val > n: sum = sum + val return sum print(sum_greater_than(list, 10))
Editor Settings
Theme
Key bindings
Full width
Lines