sbs5@frog:~/cs200/www/lectures$ date Wed Aug 28 02:29:38 PM EDT 2024 sbs5@frog:~/cs200/www/lectures$ pwd /home/accts/sbs5/cs200/www/lectures sbs5@frog:~/cs200/www/lectures$ p Python 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import antigravity )07 +------------------ Welcome -------------------+ | | | Welcome to links! | | | | To display menu, press ESC or click on the | | top line in window. Select Help->Manual in | | menu for user's manual. | | | | [ OK ] | +----------------------------------------------+ Looking up host Making connectionSSL negotiation Request sent Formatting documentxkcd: Python (p1 of 4)* ArchivexksaSpanimNovember 2024. Preorder here!https://xkcd.com/archive Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.10/antigravity.py", line 5, in webbrowser.open("https://xkcd.com/353/") File "/usr/lib/python3.10/webbrowser.py", line 86, in open if browser.open(url, new, autoraise): File "/usr/lib/python3.10/webbrowser.py", line 181, in open return not p.wait() File "/usr/lib/python3.10/subprocess.py", line 1209, in wait return self._wait(timeout=timeout) File "/usr/lib/python3.10/subprocess.py", line 1959, in _wait (pid, sts) = self._try_wait(0) File "/usr/lib/python3.10/subprocess.py", line 1917, in _try_wait (pid, sts) = os.waitpid(self.pid, wait_flags) KeyboardInterrupt >>> sbs5@frog:~/cs200/www/lectures$ p Python 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> sbs5@frog:~/cs200/www/lectures$ p Python 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import f0828 end of f0828 name: f0828 >>> digits Traceback (most recent call last): File "", line 1, in NameError: name 'digits' is not defined >>> f0828.digits range(0, 10) >>> from f0828 import * >>> digits range(0, 10) >>> num_to_word(8) 'eight' >>> num_to_word(80) False >>> word_to_num('six') 6 >>> word_to_num(num_to_word(5)) 5 >>> digits range(0, 10) >>> list(digits) [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] >>> x >>> list(x) [] >>> list(xlist) ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'] >>> xlist ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'] >>> y ['eight', 'five', 'four', 'nine', 'one', 'seven', 'six', 'three', 'two', 'zero'] >>> z >>> zlist [8, 5, 4, 9, 1, 7, 6, 3, 2, 0] >>> sbs5@frog:~/cs200/www/lectures$ exit Process shell<1> finished