Python 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 08:49:46) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "copyright", "credits" or "license()" for more information. >>> WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Visit http://www.python.org/download/mac/tcltk/ for current information. >>> ============ RESTART: /Users/ssheehan/Downloads/list_range_old.py ============ Traceback (most recent call last): File "/Users/ssheehan/Downloads/list_range_old.py", line 30, in main() File "/Users/ssheehan/Downloads/list_range_old.py", line 27, in main r = lst_range(my_lst) File "/Users/ssheehan/Downloads/list_range_old.py", line 21, in lst_range my_max = maximum(lst) File "/Users/ssheehan/Downloads/list_range_old.py", line 17, in maximum return my_min NameError: name 'my_min' is not defined >>> ============ RESTART: /Users/ssheehan/Downloads/list_range_old.py ============ Range is 17 >>> ============ RESTART: /Users/ssheehan/Downloads/list_range_old.py ============ Range is 17 >>> ============ RESTART: /Users/ssheehan/Downloads/list_range_old.py ============ 1 1 Range is 0 >>> ============ RESTART: /Users/ssheehan/Downloads/list_range_old.py ============ 17 10 1 12 5 18 15 16 6 14 1 1 Range is 0 >>> ============ RESTART: /Users/ssheehan/Downloads/list_range_old.py ============ max 17 max 17 max 17 max 17 max 17 max 17 max 1 max 1 max 1 max 1 1 1 Range is 0 >>> ============ RESTART: /Users/ssheehan/Downloads/list_range_old.py ============ 17 max 17 10 max 17 1 max 17 12 max 17 5 max 17 18 max 17 15 max 1 16 max 1 6 max 1 14 max 1 1 1 Range is 0 >>> ============ RESTART: /Users/ssheehan/Downloads/list_range_old.py ============ 17 max 17 10 max 17 1 max 17 12 max 17 5 max 17 18 max 17 15 max 18 16 max 18 6 max 18 14 max 18 1 18 Range is 17 >>> ============ RESTART: /Users/ssheehan/Downloads/list_range_old.py ============ 17 max -inf 10 max 17 1 max 17 12 max 17 5 max 17 18 max 17 15 max 18 16 max 18 6 max 18 14 max 18 1 18 Range is 17 >>> ============ RESTART: /Users/ssheehan/Downloads/list_range_old.py ============ Traceback (most recent call last): File "/Users/ssheehan/Downloads/list_range_old.py", line 36, in main() File "/Users/ssheehan/Downloads/list_range_old.py", line 33, in main r = lst_range(my_lst) File "/Users/ssheehan/Downloads/list_range_old.py", line 24, in lst_range my_min = minimum(lst) File "/Users/ssheehan/Downloads/list_range_old.py", line 6, in minimum my_min = lst[0] #float('inf') IndexError: list index out of range >>> ============ RESTART: /Users/ssheehan/Documents/file_practice.py ============ >>> ============ RESTART: /Users/ssheehan/Documents/file_practice.py ============ >>> ============ RESTART: /Users/ssheehan/Documents/file_practice.py ============ >>> ============ RESTART: /Users/ssheehan/Documents/file_practice.py ============ Hello World! Author: Sara Mathieson This is testing out files >>> ============ RESTART: /Users/ssheehan/Documents/file_practice.py ============ Hello World! Author: Sara Mathieson This is testing out files ['Hello World!', 'Author: Sara Mathieson', 'This is testing out files', ''] >>> ============ RESTART: /Users/ssheehan/Documents/file_practice.py ============ Hello World! Author: Sara Mathieson This is testing out files ['Hello World!', 'Author: Sara Mathieson', 'This is testing out files', ''] Hello World! Author: Sara Mathieson This is testing out files >>> ============ RESTART: /Users/ssheehan/Documents/file_practice.py ============ Hello World! Author: Sara Mathieson This is testing out files >>> ============ RESTART: /Users/ssheehan/Documents/file_practice.py ============ Hello World! Author: Sara Mathieson This is testing out files >>>