Exercise 25
Exercise 26: original file
Exercise 26: original file corrected
fixing error:   File "ex26.py", line 12
fixing error: File "ex26.py", line 12 def print_first_word(words) SyntaxError: invalid syntax
fixing error: File "ex26.py", line 21 print word SyntaxError: invalid syntax
fixing error: File "ex26.py", line 67 jars = jelly_beans \ 1000 SyntaxError: unexpected character after line continuation character
fixing error: File "ex26.py", line 84 sentence = "All god\tthings come to those who weight." SyntaxError: invalid syntax
fixing error: File "ex26.py", line 91 .print_first_word(sorted_words) SyntaxError: invalid syntax
fixing error: File "ex26.py", line 94 prin sorted_words SyntaxError: invalid syntax
fixing error: File "ex26.py", line 98 print_first_a_last_sorted(senence) IndentationError: unexpected indent
fixing error: Traceback (most recent call last): File "ex26.py", line 73, in <module> beans, jars, crates == secret_formula(start-point) NameError: name beans is not defined
fixing error: Traceback (most recent call last): File "ex26.py", line 73, in <module> beans, jars, crates = secret_formula(start-point) NameError: name start is not defined
fixing error: Traceback (most recent call last): File "ex26.py", line 81, NameError: name start_pont is not defined
fixing error: Traceback (most recent call last): File "ex26.py", line 86, in <module> words = ex25.break_words(sentence) NameError: name ex25 is not defined
fixing error: Traceback (most recent call last): File "ex26.py", line 87, in <module> sorted_words = ex25.sort_words(words) NameError: name ex25 is not defined
fixing error: Traceback (most recent call last): File "ex26.py", line 89, in <module> print_first_word(words) File "ex26.py", line 14, in print_first_word word = words.poop(0) AttributeError: list object has no attribute poop
fixing error: Traceback (most recent call last): File "ex26.py", line 93, in <module> sorted_words = ex25.sort_sentence(sentence) NameError: name ex25 is not defined
fixing error: Traceback (most recent call last): File "ex26.py", line 96, in <module> print_irst_and_last(sentence) NameError: name print_irst_and_last is not defined
fixing error: Traceback (most recent call last): File "ex26.py", line 98, in <module> print_first_a_last_sorted(senence) NameError: name                       print_first_a_last_sorted is not defined