{"action":"created","comment":{"url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pulls/comments/181924812","pull_request_review_id":112634531,"id":181924812,"diff_hunk":"@@ -0,0 +1,50 @@\n+''' Grid Printer Exercise '''\n+\n+#Part 1: Write a function that draws a grid\n+print(\"Part 1: Write a function that draws a grid\")\n+print(\"+ - - - - + - - - - +\")\n+print(\"|         |         |\")\n+print(\"|         |         |\")\n+print(\"|         |         |\")\n+print(\"|         |         |\")\n+print(\"+ - - - - + - - - - +\")\n+print(\"|         |         |\")\n+print(\"|         |         |\")\n+print(\"|         |         |\")\n+print(\"+ - - - - + - - - - +\")\n+\n+print(\"\\n\")\n+\n+\n+#Part 2: Make it a function\n+print(\"Part 2: Make it a function\")\n+def print_grid_horizontal(n):\n+    print((\"+\" + \" -\"* (n// 2) + \" \" + \"+\" + \" \")+(\"- \"* (n//2) + \"+\"))\n+\n+def print_grid_vertical(n):\n+    for i in range (n//2):\n+        print(\"|\" + \" \"*n + \"|\" + \" \"*n + \"|\")\n+\n+n = 11\n+print_grid_horizontal(n)\n+print_grid_vertical(n) \n+print_grid_horizontal(n)\n+print_grid_vertical(n)\n+print_grid_horizontal(n)","path":"students/tammyd/lesson02/grid_printer_exercise.py","position":33,"original_position":33,"commit_id":"588ebbd9b97bf0c855f91bb020b857ee7f0b2bce","original_commit_id":"588ebbd9b97bf0c855f91bb020b857ee7f0b2bce","user":{"login":"PythonCHB","id":1840917,"avatar_url":"https://avatars1.githubusercontent.com/u/1840917?v=4","gravatar_id":"","url":"https://api.github.com/users/PythonCHB","html_url":"https://github.com/PythonCHB","followers_url":"https://api.github.com/users/PythonCHB/followers","following_url":"https://api.github.com/users/PythonCHB/following{/other_user}","gists_url":"https://api.github.com/users/PythonCHB/gists{/gist_id}","starred_url":"https://api.github.com/users/PythonCHB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PythonCHB/subscriptions","organizations_url":"https://api.github.com/users/PythonCHB/orgs","repos_url":"https://api.github.com/users/PythonCHB/repos","events_url":"https://api.github.com/users/PythonCHB/events{/privacy}","received_events_url":"https://api.github.com/users/PythonCHB/received_events","type":"User","site_admin":false},"body":"That’s better, but still some repetition...","created_at":"2018-04-17T00:41:15Z","updated_at":"2018-04-17T00:53:32Z","html_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pull/37#discussion_r181924812","pull_request_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pulls/37","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pulls/comments/181924812"},"html":{"href":"https://github.com/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pull/37#discussion_r181924812"},"pull_request":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pulls/37","id":181725088,"html_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pull/37","diff_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pull/37.diff","patch_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pull/37.patch","issue_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/issues/37","number":37,"state":"open","locked":false,"title":"lesson2 submissions","user":{"login":"tammytdo","id":37233625,"avatar_url":"https://avatars1.githubusercontent.com/u/37233625?v=4","gravatar_id":"","url":"https://api.github.com/users/tammytdo","html_url":"https://github.com/tammytdo","followers_url":"https://api.github.com/users/tammytdo/followers","following_url":"https://api.github.com/users/tammytdo/following{/other_user}","gists_url":"https://api.github.com/users/tammytdo/gists{/gist_id}","starred_url":"https://api.github.com/users/tammytdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tammytdo/subscriptions","organizations_url":"https://api.github.com/users/tammytdo/orgs","repos_url":"https://api.github.com/users/tammytdo/repos","events_url":"https://api.github.com/users/tammytdo/events{/privacy}","received_events_url":"https://api.github.com/users/tammytdo/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-15T22:32:18Z","updated_at":"2018-04-17T00:53:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ddc882c7cf7161b667125f529729f0fa61d7da0d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pulls/37/commits","review_comments_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pulls/37/comments","review_comment_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/issues/37/comments","statuses_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/statuses/588ebbd9b97bf0c855f91bb020b857ee7f0b2bce","head":{"label":"tammytdo:master","ref":"master","sha":"588ebbd9b97bf0c855f91bb020b857ee7f0b2bce","user":{"login":"tammytdo","id":37233625,"avatar_url":"https://avatars1.githubusercontent.com/u/37233625?v=4","gravatar_id":"","url":"https://api.github.com/users/tammytdo","html_url":"https://github.com/tammytdo","followers_url":"https://api.github.com/users/tammytdo/followers","following_url":"https://api.github.com/users/tammytdo/following{/other_user}","gists_url":"https://api.github.com/users/tammytdo/gists{/gist_id}","starred_url":"https://api.github.com/users/tammytdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tammytdo/subscriptions","organizations_url":"https://api.github.com/users/tammytdo/orgs","repos_url":"https://api.github.com/users/tammytdo/repos","events_url":"https://api.github.com/users/tammytdo/events{/privacy}","received_events_url":"https://api.github.com/users/tammytdo/received_events","type":"User","site_admin":false},"repo":{"id":128855874,"name":"Sp2018-Accelerated","full_name":"tammytdo/Sp2018-Accelerated","owner":{"login":"tammytdo","id":37233625,"avatar_url":"https://avatars1.githubusercontent.com/u/37233625?v=4","gravatar_id":"","url":"https://api.github.com/users/tammytdo","html_url":"https://github.com/tammytdo","followers_url":"https://api.github.com/users/tammytdo/followers","following_url":"https://api.github.com/users/tammytdo/following{/other_user}","gists_url":"https://api.github.com/users/tammytdo/gists{/gist_id}","starred_url":"https://api.github.com/users/tammytdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tammytdo/subscriptions","organizations_url":"https://api.github.com/users/tammytdo/orgs","repos_url":"https://api.github.com/users/tammytdo/repos","events_url":"https://api.github.com/users/tammytdo/events{/privacy}","received_events_url":"https://api.github.com/users/tammytdo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tammytdo/Sp2018-Accelerated","description":"Class repository for the Spring 2018 accelerated classroom session.","fork":true,"url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated","forks_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/forks","keys_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/teams","hooks_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/hooks","issue_events_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/issues/events{/number}","events_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/events","assignees_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/assignees{/user}","branches_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/branches{/branch}","tags_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/tags","blobs_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/git/refs{/sha}","trees_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/statuses/{sha}","languages_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/languages","stargazers_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/stargazers","contributors_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/contributors","subscribers_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/subscribers","subscription_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/subscription","commits_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/commits{/sha}","git_commits_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/git/commits{/sha}","comments_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/comments{/number}","issue_comment_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/issues/comments{/number}","contents_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/contents/{+path}","compare_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/merges","archive_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/downloads","issues_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/issues{/number}","pulls_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/pulls{/number}","milestones_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/milestones{/number}","notifications_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/labels{/name}","releases_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/releases{/id}","deployments_url":"https://api.github.com/repos/tammytdo/Sp2018-Accelerated/deployments","created_at":"2018-04-10T01:36:52Z","updated_at":"2018-04-16T23:24:39Z","pushed_at":"2018-04-16T23:24:37Z","git_url":"git://github.com/tammytdo/Sp2018-Accelerated.git","ssh_url":"git@github.com:tammytdo/Sp2018-Accelerated.git","clone_url":"https://github.com/tammytdo/Sp2018-Accelerated.git","svn_url":"https://github.com/tammytdo/Sp2018-Accelerated","homepage":null,"size":88,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"UWPCE-PythonCert-ClassRepos:master","ref":"master","sha":"11d7b317245823a731ddaffe396951ee1aed5f76","user":{"login":"UWPCE-PythonCert-ClassRepos","id":34701012,"avatar_url":"https://avatars0.githubusercontent.com/u/34701012?v=4","gravatar_id":"","url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos","html_url":"https://github.com/UWPCE-PythonCert-ClassRepos","followers_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/followers","following_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/following{/other_user}","gists_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/gists{/gist_id}","starred_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/subscriptions","organizations_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/orgs","repos_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/repos","events_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/events{/privacy}","received_events_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/received_events","type":"Organization","site_admin":false},"repo":{"id":126766533,"name":"Sp2018-Accelerated","full_name":"UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated","owner":{"login":"UWPCE-PythonCert-ClassRepos","id":34701012,"avatar_url":"https://avatars0.githubusercontent.com/u/34701012?v=4","gravatar_id":"","url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos","html_url":"https://github.com/UWPCE-PythonCert-ClassRepos","followers_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/followers","following_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/following{/other_user}","gists_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/gists{/gist_id}","starred_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/subscriptions","organizations_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/orgs","repos_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/repos","events_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/events{/privacy}","received_events_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated","description":"Class repository for the Spring 2018 accelerated classroom session.","fork":false,"url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated","forks_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/forks","keys_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/teams","hooks_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/hooks","issue_events_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/issues/events{/number}","events_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/events","assignees_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/assignees{/user}","branches_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/branches{/branch}","tags_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/tags","blobs_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/git/refs{/sha}","trees_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/statuses/{sha}","languages_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/languages","stargazers_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/stargazers","contributors_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/contributors","subscribers_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/subscribers","subscription_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/subscription","commits_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/commits{/sha}","git_commits_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/git/commits{/sha}","comments_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/comments{/number}","issue_comment_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/issues/comments{/number}","contents_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/contents/{+path}","compare_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/merges","archive_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/downloads","issues_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/issues{/number}","pulls_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pulls{/number}","milestones_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/milestones{/number}","notifications_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/labels{/name}","releases_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/releases{/id}","deployments_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/deployments","created_at":"2018-03-26T03:08:31Z","updated_at":"2018-04-17T00:00:01Z","pushed_at":"2018-04-17T00:44:25Z","git_url":"git://github.com/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated.git","ssh_url":"git@github.com:UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated.git","clone_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated.git","svn_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated","homepage":null,"size":86,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":20,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pulls/37"},"html":{"href":"https://github.com/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pull/37"},"issue":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/issues/37"},"comments":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Sp2018-Accelerated/statuses/588ebbd9b97bf0c855f91bb020b857ee7f0b2bce"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"PythonCHB"}}