{"action":"created","comment":{"url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/pulls/comments/34206276","id":34206276,"diff_hunk":"@@ -0,0 +1,66 @@\n+import random\n+\n+\n+def simplify(lines):\n+    # turn a list of lines into a list of words\n+    wordlist = []\n+    for i in range(len(lines)):\n+        wordlist.extend(lines[i].split())\n+    return wordlist\n+\n+\n+def make_trigram_dict(words):\n+    # turn a list of words into a trigram dictionary\n+    d = {}","path":"hw/hw13/trigrams.py","position":14,"original_position":14,"commit_id":"1edbfffdf95b71ec456fa7103a7d49b7b56a201e","original_commit_id":"1edbfffdf95b71ec456fa7103a7d49b7b56a201e","user":{"login":"joelstanner","id":3937302,"avatar_url":"https://avatars.githubusercontent.com/u/3937302?v=3","gravatar_id":"","url":"https://api.github.com/users/joelstanner","html_url":"https://github.com/joelstanner","followers_url":"https://api.github.com/users/joelstanner/followers","following_url":"https://api.github.com/users/joelstanner/following{/other_user}","gists_url":"https://api.github.com/users/joelstanner/gists{/gist_id}","starred_url":"https://api.github.com/users/joelstanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelstanner/subscriptions","organizations_url":"https://api.github.com/users/joelstanner/orgs","repos_url":"https://api.github.com/users/joelstanner/repos","events_url":"https://api.github.com/users/joelstanner/events{/privacy}","received_events_url":"https://api.github.com/users/joelstanner/received_events","type":"User","site_admin":false},"body":"Try and avoid single letter variable names. Debugging a bunch of single character variables can be a real pain as your programs become large.","created_at":"2015-07-08T22:28:39Z","updated_at":"2015-07-08T22:28:39Z","html_url":"https://github.com/LiraelDianne/sea-c42-python/pull/8#discussion_r34206276","pull_request_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/LiraelDianne/sea-c42-python/pulls/comments/34206276"},"html":{"href":"https://github.com/LiraelDianne/sea-c42-python/pull/8#discussion_r34206276"},"pull_request":{"href":"https://api.github.com/repos/LiraelDianne/sea-c42-python/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/pulls/8","id":39517540,"html_url":"https://github.com/LiraelDianne/sea-c42-python/pull/8","diff_url":"https://github.com/LiraelDianne/sea-c42-python/pull/8.diff","patch_url":"https://github.com/LiraelDianne/sea-c42-python/pull/8.patch","issue_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/issues/8","number":8,"state":"open","locked":false,"title":"Hw13","user":{"login":"LiraelDianne","id":12108661,"avatar_url":"https://avatars.githubusercontent.com/u/12108661?v=3","gravatar_id":"","url":"https://api.github.com/users/LiraelDianne","html_url":"https://github.com/LiraelDianne","followers_url":"https://api.github.com/users/LiraelDianne/followers","following_url":"https://api.github.com/users/LiraelDianne/following{/other_user}","gists_url":"https://api.github.com/users/LiraelDianne/gists{/gist_id}","starred_url":"https://api.github.com/users/LiraelDianne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiraelDianne/subscriptions","organizations_url":"https://api.github.com/users/LiraelDianne/orgs","repos_url":"https://api.github.com/users/LiraelDianne/repos","events_url":"https://api.github.com/users/LiraelDianne/events{/privacy}","received_events_url":"https://api.github.com/users/LiraelDianne/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-08T20:09:09Z","updated_at":"2015-07-08T22:28:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee0f11e3eba28a95f368d7fc2df0f466061610d2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/pulls/8/commits","review_comments_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/pulls/8/comments","review_comment_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/issues/8/comments","statuses_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/statuses/1edbfffdf95b71ec456fa7103a7d49b7b56a201e","head":{"label":"LiraelDianne:hw13","ref":"hw13","sha":"1edbfffdf95b71ec456fa7103a7d49b7b56a201e","user":{"login":"LiraelDianne","id":12108661,"avatar_url":"https://avatars.githubusercontent.com/u/12108661?v=3","gravatar_id":"","url":"https://api.github.com/users/LiraelDianne","html_url":"https://github.com/LiraelDianne","followers_url":"https://api.github.com/users/LiraelDianne/followers","following_url":"https://api.github.com/users/LiraelDianne/following{/other_user}","gists_url":"https://api.github.com/users/LiraelDianne/gists{/gist_id}","starred_url":"https://api.github.com/users/LiraelDianne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiraelDianne/subscriptions","organizations_url":"https://api.github.com/users/LiraelDianne/orgs","repos_url":"https://api.github.com/users/LiraelDianne/repos","events_url":"https://api.github.com/users/LiraelDianne/events{/privacy}","received_events_url":"https://api.github.com/users/LiraelDianne/received_events","type":"User","site_admin":false},"repo":{"id":37503750,"name":"sea-c42-python","full_name":"LiraelDianne/sea-c42-python","owner":{"login":"LiraelDianne","id":12108661,"avatar_url":"https://avatars.githubusercontent.com/u/12108661?v=3","gravatar_id":"","url":"https://api.github.com/users/LiraelDianne","html_url":"https://github.com/LiraelDianne","followers_url":"https://api.github.com/users/LiraelDianne/followers","following_url":"https://api.github.com/users/LiraelDianne/following{/other_user}","gists_url":"https://api.github.com/users/LiraelDianne/gists{/gist_id}","starred_url":"https://api.github.com/users/LiraelDianne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiraelDianne/subscriptions","organizations_url":"https://api.github.com/users/LiraelDianne/orgs","repos_url":"https://api.github.com/users/LiraelDianne/repos","events_url":"https://api.github.com/users/LiraelDianne/events{/privacy}","received_events_url":"https://api.github.com/users/LiraelDianne/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LiraelDianne/sea-c42-python","description":"Python F2 Class sea-c42","fork":true,"url":"https://api.github.com/repos/LiraelDianne/sea-c42-python","forks_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/forks","keys_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/teams","hooks_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/hooks","issue_events_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/issues/events{/number}","events_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/events","assignees_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/assignees{/user}","branches_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/branches{/branch}","tags_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/tags","blobs_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/statuses/{sha}","languages_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/languages","stargazers_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/stargazers","contributors_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/contributors","subscribers_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/subscribers","subscription_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/subscription","commits_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/contents/{+path}","compare_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/merges","archive_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/downloads","issues_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/issues{/number}","pulls_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/pulls{/number}","milestones_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/milestones{/number}","notifications_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/labels{/name}","releases_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/releases{/id}","created_at":"2015-06-16T02:40:39Z","updated_at":"2015-06-16T02:40:39Z","pushed_at":"2015-07-08T20:09:09Z","git_url":"git://github.com/LiraelDianne/sea-c42-python.git","ssh_url":"git@github.com:LiraelDianne/sea-c42-python.git","clone_url":"https://github.com/LiraelDianne/sea-c42-python.git","svn_url":"https://github.com/LiraelDianne/sea-c42-python","homepage":null,"size":1844,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"LiraelDianne:master","ref":"master","sha":"55fbdfeabe3903bf77fa29296a00b1a279b7760e","user":{"login":"LiraelDianne","id":12108661,"avatar_url":"https://avatars.githubusercontent.com/u/12108661?v=3","gravatar_id":"","url":"https://api.github.com/users/LiraelDianne","html_url":"https://github.com/LiraelDianne","followers_url":"https://api.github.com/users/LiraelDianne/followers","following_url":"https://api.github.com/users/LiraelDianne/following{/other_user}","gists_url":"https://api.github.com/users/LiraelDianne/gists{/gist_id}","starred_url":"https://api.github.com/users/LiraelDianne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiraelDianne/subscriptions","organizations_url":"https://api.github.com/users/LiraelDianne/orgs","repos_url":"https://api.github.com/users/LiraelDianne/repos","events_url":"https://api.github.com/users/LiraelDianne/events{/privacy}","received_events_url":"https://api.github.com/users/LiraelDianne/received_events","type":"User","site_admin":false},"repo":{"id":37503750,"name":"sea-c42-python","full_name":"LiraelDianne/sea-c42-python","owner":{"login":"LiraelDianne","id":12108661,"avatar_url":"https://avatars.githubusercontent.com/u/12108661?v=3","gravatar_id":"","url":"https://api.github.com/users/LiraelDianne","html_url":"https://github.com/LiraelDianne","followers_url":"https://api.github.com/users/LiraelDianne/followers","following_url":"https://api.github.com/users/LiraelDianne/following{/other_user}","gists_url":"https://api.github.com/users/LiraelDianne/gists{/gist_id}","starred_url":"https://api.github.com/users/LiraelDianne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiraelDianne/subscriptions","organizations_url":"https://api.github.com/users/LiraelDianne/orgs","repos_url":"https://api.github.com/users/LiraelDianne/repos","events_url":"https://api.github.com/users/LiraelDianne/events{/privacy}","received_events_url":"https://api.github.com/users/LiraelDianne/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LiraelDianne/sea-c42-python","description":"Python F2 Class sea-c42","fork":true,"url":"https://api.github.com/repos/LiraelDianne/sea-c42-python","forks_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/forks","keys_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/teams","hooks_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/hooks","issue_events_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/issues/events{/number}","events_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/events","assignees_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/assignees{/user}","branches_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/branches{/branch}","tags_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/tags","blobs_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/statuses/{sha}","languages_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/languages","stargazers_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/stargazers","contributors_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/contributors","subscribers_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/subscribers","subscription_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/subscription","commits_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/contents/{+path}","compare_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/merges","archive_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/downloads","issues_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/issues{/number}","pulls_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/pulls{/number}","milestones_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/milestones{/number}","notifications_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/labels{/name}","releases_url":"https://api.github.com/repos/LiraelDianne/sea-c42-python/releases{/id}","created_at":"2015-06-16T02:40:39Z","updated_at":"2015-06-16T02:40:39Z","pushed_at":"2015-07-08T20:09:09Z","git_url":"git://github.com/LiraelDianne/sea-c42-python.git","ssh_url":"git@github.com:LiraelDianne/sea-c42-python.git","clone_url":"https://github.com/LiraelDianne/sea-c42-python.git","svn_url":"https://github.com/LiraelDianne/sea-c42-python","homepage":null,"size":1844,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LiraelDianne/sea-c42-python/pulls/8"},"html":{"href":"https://github.com/LiraelDianne/sea-c42-python/pull/8"},"issue":{"href":"https://api.github.com/repos/LiraelDianne/sea-c42-python/issues/8"},"comments":{"href":"https://api.github.com/repos/LiraelDianne/sea-c42-python/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/LiraelDianne/sea-c42-python/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/LiraelDianne/sea-c42-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LiraelDianne/sea-c42-python/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/LiraelDianne/sea-c42-python/statuses/1edbfffdf95b71ec456fa7103a7d49b7b56a201e"}}}}