{"action":"created","comment":{"url":"https://api.github.com/repos/JoeyDeRosa/code-katas/pulls/comments/91837713","pull_request_review_id":12350345,"id":91837713,"diff_hunk":"@@ -0,0 +1,16 @@\n+'''My code for sum-of-nth-terms kata.'''\n+\n+\n+def series_sum(n):\n+    '''Add 1 divided by a div increasing by three for range n.'''\n+    if n == 0:\n+        return '0.00'\n+    acc = 0\n+    div = -2\n+    for i in range(n):\n+        div += 3\n+        acc += 1 / div","path":"sum_of_nth_terms.py","position":12,"original_position":12,"commit_id":"3835601e9a18329f72fc71ca89276f21d4ec4b04","original_commit_id":"3835601e9a18329f72fc71ca89276f21d4ec4b04","user":{"login":"nhuntwalker","id":5581888,"avatar_url":"https://avatars.githubusercontent.com/u/5581888?v=3","gravatar_id":"","url":"https://api.github.com/users/nhuntwalker","html_url":"https://github.com/nhuntwalker","followers_url":"https://api.github.com/users/nhuntwalker/followers","following_url":"https://api.github.com/users/nhuntwalker/following{/other_user}","gists_url":"https://api.github.com/users/nhuntwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/nhuntwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhuntwalker/subscriptions","organizations_url":"https://api.github.com/users/nhuntwalker/orgs","repos_url":"https://api.github.com/users/nhuntwalker/repos","events_url":"https://api.github.com/users/nhuntwalker/events{/privacy}","received_events_url":"https://api.github.com/users/nhuntwalker/received_events","type":"User","site_admin":false},"body":"Missed this the first time I went through but something seemed off to me. Sorry for not being thorough earlier. You're doing integer division, and in Python 2 that means your division won't work the way you want it to. All you get is \"1.00\" if n > 0","created_at":"2016-12-10T16:21:29Z","updated_at":"2016-12-10T16:22:54Z","html_url":"https://github.com/JoeyDeRosa/code-katas/pull/1#discussion_r91837713","pull_request_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/JoeyDeRosa/code-katas/pulls/comments/91837713"},"html":{"href":"https://github.com/JoeyDeRosa/code-katas/pull/1#discussion_r91837713"},"pull_request":{"href":"https://api.github.com/repos/JoeyDeRosa/code-katas/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/JoeyDeRosa/code-katas/pulls/1","id":97414547,"html_url":"https://github.com/JoeyDeRosa/code-katas/pull/1","diff_url":"https://github.com/JoeyDeRosa/code-katas/pull/1.diff","patch_url":"https://github.com/JoeyDeRosa/code-katas/pull/1.patch","issue_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/issues/1","number":1,"state":"open","locked":false,"title":"sum of nth term kata and test","user":{"login":"JoeyDeRosa","id":11426396,"avatar_url":"https://avatars.githubusercontent.com/u/11426396?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeyDeRosa","html_url":"https://github.com/JoeyDeRosa","followers_url":"https://api.github.com/users/JoeyDeRosa/followers","following_url":"https://api.github.com/users/JoeyDeRosa/following{/other_user}","gists_url":"https://api.github.com/users/JoeyDeRosa/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeyDeRosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeyDeRosa/subscriptions","organizations_url":"https://api.github.com/users/JoeyDeRosa/orgs","repos_url":"https://api.github.com/users/JoeyDeRosa/repos","events_url":"https://api.github.com/users/JoeyDeRosa/events{/privacy}","received_events_url":"https://api.github.com/users/JoeyDeRosa/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-10T05:45:42Z","updated_at":"2016-12-10T16:22:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7882c7f360ac682959bf3c0297a9cf7a42182918","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/pulls/1/commits","review_comments_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/pulls/1/comments","review_comment_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/issues/1/comments","statuses_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/statuses/3835601e9a18329f72fc71ca89276f21d4ec4b04","head":{"label":"JoeyDeRosa:sum-of-nth-terms","ref":"sum-of-nth-terms","sha":"3835601e9a18329f72fc71ca89276f21d4ec4b04","user":{"login":"JoeyDeRosa","id":11426396,"avatar_url":"https://avatars.githubusercontent.com/u/11426396?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeyDeRosa","html_url":"https://github.com/JoeyDeRosa","followers_url":"https://api.github.com/users/JoeyDeRosa/followers","following_url":"https://api.github.com/users/JoeyDeRosa/following{/other_user}","gists_url":"https://api.github.com/users/JoeyDeRosa/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeyDeRosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeyDeRosa/subscriptions","organizations_url":"https://api.github.com/users/JoeyDeRosa/orgs","repos_url":"https://api.github.com/users/JoeyDeRosa/repos","events_url":"https://api.github.com/users/JoeyDeRosa/events{/privacy}","received_events_url":"https://api.github.com/users/JoeyDeRosa/received_events","type":"User","site_admin":false},"repo":{"id":76084172,"name":"code-katas","full_name":"JoeyDeRosa/code-katas","owner":{"login":"JoeyDeRosa","id":11426396,"avatar_url":"https://avatars.githubusercontent.com/u/11426396?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeyDeRosa","html_url":"https://github.com/JoeyDeRosa","followers_url":"https://api.github.com/users/JoeyDeRosa/followers","following_url":"https://api.github.com/users/JoeyDeRosa/following{/other_user}","gists_url":"https://api.github.com/users/JoeyDeRosa/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeyDeRosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeyDeRosa/subscriptions","organizations_url":"https://api.github.com/users/JoeyDeRosa/orgs","repos_url":"https://api.github.com/users/JoeyDeRosa/repos","events_url":"https://api.github.com/users/JoeyDeRosa/events{/privacy}","received_events_url":"https://api.github.com/users/JoeyDeRosa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JoeyDeRosa/code-katas","description":null,"fork":false,"url":"https://api.github.com/repos/JoeyDeRosa/code-katas","forks_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/forks","keys_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/teams","hooks_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/hooks","issue_events_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/issues/events{/number}","events_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/events","assignees_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/assignees{/user}","branches_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/branches{/branch}","tags_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/tags","blobs_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/git/refs{/sha}","trees_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/statuses/{sha}","languages_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/languages","stargazers_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/stargazers","contributors_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/contributors","subscribers_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/subscribers","subscription_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/subscription","commits_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/commits{/sha}","git_commits_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/git/commits{/sha}","comments_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/comments{/number}","issue_comment_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/issues/comments{/number}","contents_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/contents/{+path}","compare_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/merges","archive_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/downloads","issues_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/issues{/number}","pulls_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/pulls{/number}","milestones_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/milestones{/number}","notifications_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/labels{/name}","releases_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/releases{/id}","deployments_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/deployments","created_at":"2016-12-10T01:56:31Z","updated_at":"2016-12-10T01:56:31Z","pushed_at":"2016-12-10T05:45:42Z","git_url":"git://github.com/JoeyDeRosa/code-katas.git","ssh_url":"git@github.com:JoeyDeRosa/code-katas.git","clone_url":"https://github.com/JoeyDeRosa/code-katas.git","svn_url":"https://github.com/JoeyDeRosa/code-katas","homepage":null,"size":2,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"JoeyDeRosa:master","ref":"master","sha":"1eef345037d8b0e51001b88df20813c3f74a7696","user":{"login":"JoeyDeRosa","id":11426396,"avatar_url":"https://avatars.githubusercontent.com/u/11426396?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeyDeRosa","html_url":"https://github.com/JoeyDeRosa","followers_url":"https://api.github.com/users/JoeyDeRosa/followers","following_url":"https://api.github.com/users/JoeyDeRosa/following{/other_user}","gists_url":"https://api.github.com/users/JoeyDeRosa/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeyDeRosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeyDeRosa/subscriptions","organizations_url":"https://api.github.com/users/JoeyDeRosa/orgs","repos_url":"https://api.github.com/users/JoeyDeRosa/repos","events_url":"https://api.github.com/users/JoeyDeRosa/events{/privacy}","received_events_url":"https://api.github.com/users/JoeyDeRosa/received_events","type":"User","site_admin":false},"repo":{"id":76084172,"name":"code-katas","full_name":"JoeyDeRosa/code-katas","owner":{"login":"JoeyDeRosa","id":11426396,"avatar_url":"https://avatars.githubusercontent.com/u/11426396?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeyDeRosa","html_url":"https://github.com/JoeyDeRosa","followers_url":"https://api.github.com/users/JoeyDeRosa/followers","following_url":"https://api.github.com/users/JoeyDeRosa/following{/other_user}","gists_url":"https://api.github.com/users/JoeyDeRosa/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeyDeRosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeyDeRosa/subscriptions","organizations_url":"https://api.github.com/users/JoeyDeRosa/orgs","repos_url":"https://api.github.com/users/JoeyDeRosa/repos","events_url":"https://api.github.com/users/JoeyDeRosa/events{/privacy}","received_events_url":"https://api.github.com/users/JoeyDeRosa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JoeyDeRosa/code-katas","description":null,"fork":false,"url":"https://api.github.com/repos/JoeyDeRosa/code-katas","forks_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/forks","keys_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/teams","hooks_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/hooks","issue_events_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/issues/events{/number}","events_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/events","assignees_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/assignees{/user}","branches_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/branches{/branch}","tags_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/tags","blobs_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/git/refs{/sha}","trees_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/statuses/{sha}","languages_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/languages","stargazers_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/stargazers","contributors_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/contributors","subscribers_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/subscribers","subscription_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/subscription","commits_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/commits{/sha}","git_commits_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/git/commits{/sha}","comments_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/comments{/number}","issue_comment_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/issues/comments{/number}","contents_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/contents/{+path}","compare_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/merges","archive_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/downloads","issues_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/issues{/number}","pulls_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/pulls{/number}","milestones_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/milestones{/number}","notifications_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/labels{/name}","releases_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/releases{/id}","deployments_url":"https://api.github.com/repos/JoeyDeRosa/code-katas/deployments","created_at":"2016-12-10T01:56:31Z","updated_at":"2016-12-10T01:56:31Z","pushed_at":"2016-12-10T05:45:42Z","git_url":"git://github.com/JoeyDeRosa/code-katas.git","ssh_url":"git@github.com:JoeyDeRosa/code-katas.git","clone_url":"https://github.com/JoeyDeRosa/code-katas.git","svn_url":"https://github.com/JoeyDeRosa/code-katas","homepage":null,"size":2,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JoeyDeRosa/code-katas/pulls/1"},"html":{"href":"https://github.com/JoeyDeRosa/code-katas/pull/1"},"issue":{"href":"https://api.github.com/repos/JoeyDeRosa/code-katas/issues/1"},"comments":{"href":"https://api.github.com/repos/JoeyDeRosa/code-katas/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/JoeyDeRosa/code-katas/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/JoeyDeRosa/code-katas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JoeyDeRosa/code-katas/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/JoeyDeRosa/code-katas/statuses/3835601e9a18329f72fc71ca89276f21d4ec4b04"}}}}
{"actor":{"display_login":"nhuntwalker"}}