Search.setIndex({"docnames": ["conditionals_loops/conditionals_loops", "conditionals_loops/toctree", "data/data", "data/toctree", "html/html", "html/toctree", "index", "language/language", "language/toctree", "snap/snap_account", "snap/toctree"], "filenames": ["conditionals_loops/conditionals_loops.rst", "conditionals_loops/toctree.rst", "data/data.rst", "data/toctree.rst", "html/html.rst", "html/toctree.rst", "index.rst", "language/language.rst", "language/toctree.rst", "snap/snap_account.rst", "snap/toctree.rst"], "titles": ["Introduction", "Chapter 4: Conditionals and Loops", "Introduction", "Chapter 3: Tables of Data", "Section 1: Generating HTML", "Chapter 2: HTML", "EBook for \u201cComputing\u2019s Impact on Justice: From Text to the Web\u201d", "Section 1: Generating Sentences", "Chapter 1: Language", "How to make your account", "Making a Snap Account"], "terms": {"conditionals_loop": 0, "chapter": [0, 6], "written": [0, 2], "chloe": 0, "nguyen": 0, "In": [0, 2, 9], "previou": 0, "you": [0, 2, 4, 7, 9], "have": [0, 2, 4, 7], "explor": 0, "how": [0, 2, 4, 6, 7, 10], "map": 0, "from": [0, 2, 4, 7], "code": [0, 2, 4, 7], "sql": [0, 3], "html": [0, 2, 6], "idea": 0, "i": [0, 2, 4, 7, 9], "make": [0, 4, 6, 7], "sens": 0, "textual": 0, "program": [0, 2, 4, 7], "languag": [0, 2, 6, 7], "base": 0, "what": [0, 2, 4, 7], "know": [0, 4], "thi": [0, 2, 4, 7, 9], "we": [0, 2, 4, 7, 9], "revers": 0, "process": 0, "ar": [0, 2, 4, 7], "go": [0, 2, 4], "start": [0, 2, 4, 7, 9], "two": [0, 4], "kei": 0, "block": [0, 2, 4, 7], "us": [0, 2, 4, 9], "both": [0, 4, 7], "provid": [0, 9], "also": [0, 2, 7], "known": 0, "claus": 0, "them": [0, 2, 4, 7], "all": [0, 2, 4, 7, 9], "time": 0, "express": 0, "one": [0, 2, 4, 7], "thing": [0, 2, 4, 7], "depend": 0, "someth": [0, 4], "els": 0, "transfer": 0, "let": [0, 4, 7], "": [0, 2, 4, 7], "statement": 0, "If": [0, 4, 7], "ask": [0, 7, 9], "someon": 0, "dai": 0, "your": [0, 6, 10], "answer": [0, 2, 4, 7], "respons": [0, 7], "wouldn": 0, "t": [0, 2, 4, 7], "sai": [0, 7], "yai": 0, "told": 0, "thei": [0, 4], "had": 0, "bad": 0, "hopefulli": 0, "would": [0, 4, 7], "onli": [0, 2, 4], "good": 0, "Then": [0, 7, 9], "check": [0, 4, 7, 9], "did": [0, 2, 7], "find": [0, 7], "give": [0, 4], "yourself": 0, "option": [0, 7], "which": [0, 2, 4, 7], "could": [0, 2, 4, 7], "posit": 0, "e": [0, 2], "g": [0, 2], "oh": 0, "least": 0, "beat": 0, "osu": 0, "hockei": 0, "final": 0, "so": [0, 7], "catch": 0, "ani": 0, "other": [0, 4], "here": [0, 2, 4, 7, 9], "simpl": [0, 4, 7], "dialog": 0, "project": [0, 2, 7, 9], "show": [0, 2, 4], "logic": 0, "abov": [0, 2, 4, 7], "look": [0, 2, 4], "when": 0, "run": [0, 2, 4, 7], "below": [0, 4, 7], "doe": [0, 2, 4, 7], "same": [0, 2, 4, 7], "click": [0, 2, 4, 7, 9], "convers": 0, "syntax": 0, "first": [0, 2, 4, 7], "statment": 0, "see": [0, 2, 4, 7], "word": [0, 2, 7], "wa": [0, 2, 4, 7], "input": [0, 7], "user": [0, 7], "elif": 0, "stand": [0, 2], "long": [0, 2, 4], "found": [0, 2, 7], "tell": [0, 7], "comput": [0, 2], "ha": 0, "respond": [0, 7], "q": [0, 2, 4, 7], "3": [0, 2, 5, 6, 7], "get": [0, 2, 4, 9], "print": [0, 4, 7], "It": [0, 9], "4": [0, 2, 4, 6, 7], "do": [0, 2, 4, 7], "sign": [0, 9], "up": [0, 2, 7, 9], "new": 0, "account": [0, 6], "enter": 0, "birthdai": 0, "some": [0, 2, 4], "websit": [0, 4], "put": [0, 2, 4, 7], "number": [0, 2], "month": [0, 9], "drop": 0, "down": 0, "menu": 0, "still": [0, 4], "calend": 0, "convert": 0, "take": [0, 2, 4, 7], "birth": [0, 9], "note": [0, 4], "instead": [0, 4], "an": [0, 2, 4, 7, 9], "just": [0, 2, 7], "insid": [0, 4], "work": [0, 4], "wai": [0, 2, 7], "befor": [0, 4], "second": [0, 2, 4], "third": 0, "try": [0, 2, 4, 7], "out": [0, 2, 4, 7], "question": [0, 2, 4, 7], "about": [0, 2, 4, 7], "6": [0, 4, 7], "output": 0, "14": 0, "7": [0, 2, 4, 7], "why": [0, 2], "think": [0, 2, 7], "programm": 0, "valid": 0, "8": [0, 2, 4, 7], "chang": [0, 4, 7], "were": [0, 2], "9": [0, 4], "happen": [0, 2], "type": [0, 2, 7], "name": [0, 3, 7], "like": [0, 2, 4, 7], "septemb": 0, "error": 0, "exactli": 0, "sound": 0, "again": 0, "There": 0, "sever": [0, 2, 7], "differ": [0, 2, 7], "focu": [0, 7], "A": [0, 2, 7], "mani": [0, 2], "For": [0, 2, 4, 9], "imagin": 0, "circl": 0, "move": [0, 2], "few": 0, "step": 0, "forward": 0, "turn": [0, 2], "And": 0, "repeat": 0, "bunch": 0, "degre": 0, "everi": 0, "360": 0, "right": [0, 4], "triangl": 0, "letter": 0, "appl": 0, "dinosaur": 0, "count": [0, 2], "length": 0, "charact": [0, 2], "interior": 0, "j": 0, "valu": 0, "write": [0, 2], "through": [0, 4], "refer": 0, "screen": 0, "simplifi": 0, "now": [0, 2], "exact": [0, 4], "yet": [0, 2], "walk": 0, "5": 0, "around": 0, "line": [0, 2, 4, 7], "rang": 0, "creat": [0, 4, 6, 8, 9], "goe": [0, 7], "whatev": 0, "after": [0, 4, 7], "colon": [0, 2], "variabl": [0, 2, 4, 7], "equal": 0, "0": 0, "next": [0, 7], "until": 0, "greater": 0, "With": 0, "stop": 0, "That": [0, 4, 7], "mean": 0, "Or": 0, "gave": [0, 4], "u": [0, 2, 4, 7], "phrase": 0, "p": 0, "l": 0, "11": [0, 2, 7], "match": [0, 4], "our": [0, 4, 7], "hint": 0, "onc": [0, 2], "complet": [0, 2], "twice": 0, "13": [0, 7], "belong": 0, "15": 0, "want": [0, 4, 7], "backward": 0, "order": [0, 4, 9], "replac": [0, 2], "end": [0, 2, 4], "toctre": [1, 3, 5, 8, 10], "introduct": [1, 3, 6], "section": [1, 3, 5, 6, 8], "1": [1, 3, 5, 6], "The": [1, 3, 5, 8], "snap": [1, 2, 4, 6, 7, 9], "version": [1, 3, 5, 8], "python": [1, 5, 6, 8], "anoth": [1, 2, 4], "exampl": [1, 2, 4, 7], "2": [1, 3, 6, 8], "data": [2, 6], "class": [2, 7], "talk": 2, "repres": [2, 7], "choic": 2, "between": [2, 7], "ascii": 2, "unicod": 2, "can": [2, 7], "barrier": 2, "peopl": 2, "access": 2, "consid": 2, "might": [2, 4], "recogn": [2, 7], "gener": [2, 5, 6, 8], "sentenc": [2, 6, 8], "challeng": 2, "understand": 2, "dialect": 2, "english": 2, "model": [2, 7], "internet": 2, "web": [2, 4], "trace": 2, "its": 2, "histori": 2, "ground": 2, "male": 2, "cultur": 2, "basic": [2, 7], "dartmouth": 2, "wrote": 2, "pull": [2, 4], "url": [2, 4], "scrape": [2, 5, 6], "latest": 2, "cours": [2, 9], "analyz": 2, "been": 2, "apart": 2, "csv": 2, "file": 2, "ebook": [2, 4, 7], "ll": [2, 4, 9], "databas": 2, "microworld": [2, 4], "script": 2, "select": 2, "2014": 2, "sort": 2, "those": [2, 7], "term": [2, 9], "rank": 2, "column": 2, "b": 2, "list": 2, "16543": 2, "top": 2, "describ": 2, "pipe": 2, "where": [2, 4, 7, 9], "world": 2, "kind": 2, "queri": 2, "typic": 2, "structur": [2, 4], "domain": 2, "specif": [2, 7], "manag": 2, "tabl": [2, 6], "than": [2, 7], "One": [2, 4, 7], "usual": 2, "store": 2, "date": 2, "text": [2, 4], "set": [2, 4, 7, 9], "mai": 2, "hold": [2, 7], "random": [2, 7], "indic": 2, "index": [2, 6, 7], "should": [2, 4], "uniqu": 2, "each": [2, 4], "row": 2, "id": 2, "associ": 2, "custom": 2, "offic": 2, "via": 2, "especi": 2, "fast": 2, "much": 2, "faster": 2, "search": 2, "inform": [2, 4], "button": [2, 4], "execut": [2, 4], "ye": 2, "fine": 2, "ahead": [2, 4], "last": [2, 4], "10": [2, 4, 7], "year": 2, "delet": 2, "rememb": [2, 4, 7], "analys": 2, "passeng": 2, "group": 2, "whether": 2, "surviv": 2, "averag": 2, "left": [2, 4], "press": [2, 4, 7], "true": 2, "fals": 2, "more": [2, 4, 7], "interest": 2, "most": 2, "common": 2, "men": 2, "v": 2, "women": 2, "difficult": 2, "substr": 2, "easilii": 2, "split": [2, 4, 7], "result": [2, 4], "close": [2, 4], "pick": [2, 4, 7], "three": 2, "adult": 2, "mr": 2, "children": 2, "ma": 2, "master": 2, "But": 2, "easi": 2, "semi": 2, "realli": 2, "necessari": 2, "billionair": [3, 6], "titan": [3, 6], "veri": [4, 7], "tini": 4, "page": [4, 9], "definit": 4, "stage": 4, "compar": 4, "later": 4, "pretti": 4, "similar": 4, "appear": [4, 7], "task": 4, "longer": 4, "complic": 4, "part": [4, 7], "becaus": 4, "abstract": 4, "hide": 4, "detail": 4, "head": 4, "isn": [4, 7], "awai": 4, "lot": 4, "complex": 4, "defin": 4, "function": [4, 7], "def": 4, "keyword": 4, "header": 4, "paragraph": 4, "combin": 4, "string": 4, "join": 4, "build": 4, "webpag": 4, "short": 4, "form": 4, "add": 4, "At": 4, "level": 4, "said": 4, "insert": 4, "feel": 4, "free": 4, "bodi": 4, "built": [4, 7], "allow": 4, "content": 4, "figur": 4, "return": 4, "grab": 4, "locat": 4, "load": 4, "librari": 4, "call": 4, "request": 4, "abil": 4, "web_scrap": 4, "href": 4, "strip": 4, "import": 4, "rel": 4, "arbitrari": 4, "my": 4, "anyth": [4, 7], "req": 4, "lstrip": 4, "seen": 4, "parson": 4, "problem": 4, "scrambl": 4, "drag": 4, "got": 4, "come": 4, "titl": 4, "contain": [4, 7], "h2": 4, "link": 4, "correct": 4, "pleas": [4, 9], "indent": 4, "read": [5, 6], "littl": [6, 8], "chatbot": [6, 8], "condit": [6, 9], "loop": [6, 7], "alreadi": 7, "pattern": 7, "dictionari": 7, "done": 7, "noun": 7, "squar": 7, "bracket": 7, "guess": 7, "adject": 7, "snippet": 7, "follow": 7, "NOT": 7, "produc": 7, "possibl": 7, "curiou": 7, "boat": 7, "float": 7, "charla": 7, "bot": 7, "sophist": 7, "equival": 7, "randomli": 7, "saw": 7, "runeston": 7, "receiv": 7, "inputsent": 7, "chat": 7, "decid": 7, "break": 7, "distinct": 7, "nameindex": 7, "yournam": 7, "greet": 7, "often": 7, "hi": 7, "back": 7, "wordsinsent": 7, "12": 7, "re": [7, 9], "welcom": 7, "purpos": 7, "track": 7, "v1": 8, "v2": 8, "snap_account": 9, "save": 9, "need": 9, "To": 9, "navig": 9, "usernam": 9, "password": 9, "verifi": 9, "ag": 9, "email": 9, "address": 9, "uniqnam": 9, "um": 9, "without": 9, "umich": 9, "edu": 9, "recommend": 9, "box": 9, "agre": 9}, "objects": {}, "objtypes": {}, "objnames": {}, "titleterms": {"introduct": [0, 2], "section": [0, 2, 4, 7], "1": [0, 2, 4, 7, 8], "condit": [0, 1], "The": [0, 2, 4, 7], "snap": [0, 10], "version": [0, 2, 4, 7], "python": [0, 4, 7], "anoth": 0, "exampl": 0, "2": [0, 2, 4, 5, 7], "loop": [0, 1], "chapter": [1, 3, 5, 8], "4": 1, "billionair": 2, "sql": 2, "titan": 2, "name": 2, "3": [3, 4], "tabl": 3, "data": 3, "gener": [4, 7], "html": [4, 5], "scrape": 4, "read": 4, "ebook": 6, "comput": 6, "": 6, "impact": 6, "justic": 6, "from": 6, "text": 6, "web": 6, "sentenc": 7, "v1": 7, "v2": 7, "creat": [7, 10], "littl": 7, "chatbot": 7, "languag": 8, "how": 9, "make": [9, 10], "your": 9, "account": [9, 10]}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 57}, "alltitles": {"Introduction": [[0, "introduction"], [2, "introduction"]], "Section 1: Conditionals": [[0, "section-1-conditionals"]], "The Snap Version": [[0, "the-snap-version"], [0, "id1"]], "The Python Version": [[0, "the-python-version"], [0, "id2"], [4, "the-python-version"], [4, "id2"]], "Another Example": [[0, "another-example"]], "Section 2: Loops": [[0, "section-2-loops"]], "Chapter 4: Conditionals and Loops": [[1, "chapter-4-conditionals-and-loops"]], "Conditionals and loops": [[1, null]], "Section 1: Billionaires": [[2, "section-1-billionaires"]], "The SQL Version": [[2, "the-sql-version"]], "Section 2: Titanic": [[2, "section-2-titanic"]], "The SQL Versions": [[2, "the-sql-versions"]], "Names on the Titanic": [[2, "names-on-the-titanic"]], "Chapter 3: Tables of Data": [[3, "chapter-3-tables-of-data"]], "Tables of Data": [[3, null]], "Section 1: Generating HTML": [[4, "section-1-generating-html"]], "Section 2: Scraping HTML": [[4, "section-2-scraping-html"]], "Section 3: Reading HTML": [[4, "section-3-reading-html"]], "Chapter 2: HTML": [[5, "chapter-2-html"]], "HTML": [[5, null]], "EBook for \u201cComputing\u2019s Impact on Justice: From Text to the Web\u201d": [[6, "ebook-for-computing-s-impact-on-justice-from-text-to-the-web"]], "Section 1: Generating Sentences": [[7, "section-1-generating-sentences"]], "The Python Version V1": [[7, "the-python-version-v1"]], "The Python Version V2": [[7, "the-python-version-v2"]], "Section 2: Creating a little Python chatbot": [[7, "section-2-creating-a-little-python-chatbot"]], "Chapter 1: Language": [[8, "chapter-1-language"]], "Language": [[8, null]], "How to make your account": [[9, "how-to-make-your-account"]], "Making a Snap Account": [[10, "making-a-snap-account"]], "Creating a Snap Account": [[10, null]]}, "indexentries": {}})