pimento[w13]$ python3 factorial.py 120 pimento[w13]$ python3 factorial.py pimento[w13]$ python3 factorial.py Traceback (most recent call last): File "factorial.py", line 22, in main() File "factorial.py", line 18, in main assert fac(5) == 120 AssertionError pimento[w13]$ python3 factorial.py pimento[w13]$ python3 factorial.py pimento[w13]$ python3 Python 3.6.6 (default, Sep 12 2018, 18:26:19) [GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux Type "help", "copyright", "credits" or "license" for more information. >>> word = "summer" >>> word[1] 'u' >>> word[1:4] # slicing 'umm' >>> >>> word[1:] # start at 1 and go to the end 'ummer' >>> word[:4] 'summ' >>> exit() pimento[w13]$ python3 factorial.py pimento[w13]$ python3 factorial.py Traceback (most recent call last): File "factorial.py", line 57, in main() File "factorial.py", line 53, in main assert rrevese("sunny") == "ynnus" NameError: name 'rrevese' is not defined pimento[w13]$ python3 factorial.py pimento[w13]$ python3 factorial.py sunny unny nny ny y pimento[w13]$ python3 factorial.py sunny unny nny ny y y yn ynn ynnu pimento[w13]$