{"action":"created","comment":{"url":"https://api.github.com/repos/pbc-2016/test/pulls/comments/75315244","id":75315244,"diff_hunk":"@@ -112,31 +128,57 @@ def various_solutions():\n \n \n ###############################################################################\n-def f07():\n-    ...\n-\n+def f07(n):\n+    sum = 0\n+    while n < 501:\n+        if n % 3 = 0 and n % 5 = 0:\n+            sum += n\n+        elif n % 3 == 0:\n+            sum +=n\n+        elif n % 5 ==0:\n+            sum += n\n+        n = n + 1  \n+    print (sum)\n \n ###############################################################################\n def f08():\n-    ...\n+    sum = 0\n+    for i in range (1,501):\n+        if n % 3 == 0 and n % 5 == 0:\n+            sum += n\n+        elif n % 3 == 0:\n+            sum +=n\n+        elif n % 5 ==0:\n+            sum += n\n+    print (sum)\n \n \n ###############################################################################\n def f09():\n-    ...\n-\n+    \n+    sum([i for i in range(500) if (i % 3 == 0 and i % 5 ==0) or i % 3 == 0 or i % 5 == 0])\n+    print (sum)\n \n ###############################################################################\n def f10():\n-    ...\n+    # need to complete this please proceed\n \n \n ###############################################################################\n # Write f11() to take arguments, printing them as floats if they started as\n # strings, integers if they started as floats, and as the value 0 if they\n # started as ints.\n def f11(args):\n-    ...\n+    for x in args:\n+        if type(x) == float:\n+            print(int(x)","path":"test.py","position":159,"original_position":159,"commit_id":"ab2ad07b3dd74f891491d27fb6e7d19aa49c468a","original_commit_id":"ab2ad07b3dd74f891491d27fb6e7d19aa49c468a","user":{"login":"danielsgriffin","id":6070690,"avatar_url":"https://avatars.githubusercontent.com/u/6070690?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsgriffin","html_url":"https://github.com/danielsgriffin","followers_url":"https://api.github.com/users/danielsgriffin/followers","following_url":"https://api.github.com/users/danielsgriffin/following{/other_user}","gists_url":"https://api.github.com/users/danielsgriffin/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsgriffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsgriffin/subscriptions","organizations_url":"https://api.github.com/users/danielsgriffin/orgs","repos_url":"https://api.github.com/users/danielsgriffin/repos","events_url":"https://api.github.com/users/danielsgriffin/events{/privacy}","received_events_url":"https://api.github.com/users/danielsgriffin/received_events","type":"User","site_admin":false},"body":"missing `)`\r\n\r\nuse `isinstance(x, float)`","created_at":"2016-08-18T14:15:00Z","updated_at":"2016-08-18T14:15:00Z","html_url":"https://github.com/pbc-2016/test/pull/3#discussion_r75315244","pull_request_url":"https://api.github.com/repos/pbc-2016/test/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/pbc-2016/test/pulls/comments/75315244"},"html":{"href":"https://github.com/pbc-2016/test/pull/3#discussion_r75315244"},"pull_request":{"href":"https://api.github.com/repos/pbc-2016/test/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/pbc-2016/test/pulls/3","id":81737510,"html_url":"https://github.com/pbc-2016/test/pull/3","diff_url":"https://github.com/pbc-2016/test/pull/3.diff","patch_url":"https://github.com/pbc-2016/test/pull/3.patch","issue_url":"https://api.github.com/repos/pbc-2016/test/issues/3","number":3,"state":"open","locked":false,"title":"answers","user":{"login":"karan01891","id":20626963,"avatar_url":"https://avatars.githubusercontent.com/u/20626963?v=3","gravatar_id":"","url":"https://api.github.com/users/karan01891","html_url":"https://github.com/karan01891","followers_url":"https://api.github.com/users/karan01891/followers","following_url":"https://api.github.com/users/karan01891/following{/other_user}","gists_url":"https://api.github.com/users/karan01891/gists{/gist_id}","starred_url":"https://api.github.com/users/karan01891/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karan01891/subscriptions","organizations_url":"https://api.github.com/users/karan01891/orgs","repos_url":"https://api.github.com/users/karan01891/repos","events_url":"https://api.github.com/users/karan01891/events{/privacy}","received_events_url":"https://api.github.com/users/karan01891/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-18T00:00:05Z","updated_at":"2016-08-18T14:15:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e22f424731b398ca508f36be521c259bf6e6db24","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pbc-2016/test/pulls/3/commits","review_comments_url":"https://api.github.com/repos/pbc-2016/test/pulls/3/comments","review_comment_url":"https://api.github.com/repos/pbc-2016/test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pbc-2016/test/issues/3/comments","statuses_url":"https://api.github.com/repos/pbc-2016/test/statuses/ab2ad07b3dd74f891491d27fb6e7d19aa49c468a","head":{"label":"karan01891:master","ref":"master","sha":"ab2ad07b3dd74f891491d27fb6e7d19aa49c468a","user":{"login":"karan01891","id":20626963,"avatar_url":"https://avatars.githubusercontent.com/u/20626963?v=3","gravatar_id":"","url":"https://api.github.com/users/karan01891","html_url":"https://github.com/karan01891","followers_url":"https://api.github.com/users/karan01891/followers","following_url":"https://api.github.com/users/karan01891/following{/other_user}","gists_url":"https://api.github.com/users/karan01891/gists{/gist_id}","starred_url":"https://api.github.com/users/karan01891/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karan01891/subscriptions","organizations_url":"https://api.github.com/users/karan01891/orgs","repos_url":"https://api.github.com/users/karan01891/repos","events_url":"https://api.github.com/users/karan01891/events{/privacy}","received_events_url":"https://api.github.com/users/karan01891/received_events","type":"User","site_admin":false},"repo":{"id":65950397,"name":"test","full_name":"karan01891/test","owner":{"login":"karan01891","id":20626963,"avatar_url":"https://avatars.githubusercontent.com/u/20626963?v=3","gravatar_id":"","url":"https://api.github.com/users/karan01891","html_url":"https://github.com/karan01891","followers_url":"https://api.github.com/users/karan01891/followers","following_url":"https://api.github.com/users/karan01891/following{/other_user}","gists_url":"https://api.github.com/users/karan01891/gists{/gist_id}","starred_url":"https://api.github.com/users/karan01891/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karan01891/subscriptions","organizations_url":"https://api.github.com/users/karan01891/orgs","repos_url":"https://api.github.com/users/karan01891/repos","events_url":"https://api.github.com/users/karan01891/events{/privacy}","received_events_url":"https://api.github.com/users/karan01891/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karan01891/test","description":null,"fork":true,"url":"https://api.github.com/repos/karan01891/test","forks_url":"https://api.github.com/repos/karan01891/test/forks","keys_url":"https://api.github.com/repos/karan01891/test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karan01891/test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karan01891/test/teams","hooks_url":"https://api.github.com/repos/karan01891/test/hooks","issue_events_url":"https://api.github.com/repos/karan01891/test/issues/events{/number}","events_url":"https://api.github.com/repos/karan01891/test/events","assignees_url":"https://api.github.com/repos/karan01891/test/assignees{/user}","branches_url":"https://api.github.com/repos/karan01891/test/branches{/branch}","tags_url":"https://api.github.com/repos/karan01891/test/tags","blobs_url":"https://api.github.com/repos/karan01891/test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karan01891/test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karan01891/test/git/refs{/sha}","trees_url":"https://api.github.com/repos/karan01891/test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karan01891/test/statuses/{sha}","languages_url":"https://api.github.com/repos/karan01891/test/languages","stargazers_url":"https://api.github.com/repos/karan01891/test/stargazers","contributors_url":"https://api.github.com/repos/karan01891/test/contributors","subscribers_url":"https://api.github.com/repos/karan01891/test/subscribers","subscription_url":"https://api.github.com/repos/karan01891/test/subscription","commits_url":"https://api.github.com/repos/karan01891/test/commits{/sha}","git_commits_url":"https://api.github.com/repos/karan01891/test/git/commits{/sha}","comments_url":"https://api.github.com/repos/karan01891/test/comments{/number}","issue_comment_url":"https://api.github.com/repos/karan01891/test/issues/comments{/number}","contents_url":"https://api.github.com/repos/karan01891/test/contents/{+path}","compare_url":"https://api.github.com/repos/karan01891/test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karan01891/test/merges","archive_url":"https://api.github.com/repos/karan01891/test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karan01891/test/downloads","issues_url":"https://api.github.com/repos/karan01891/test/issues{/number}","pulls_url":"https://api.github.com/repos/karan01891/test/pulls{/number}","milestones_url":"https://api.github.com/repos/karan01891/test/milestones{/number}","notifications_url":"https://api.github.com/repos/karan01891/test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karan01891/test/labels{/name}","releases_url":"https://api.github.com/repos/karan01891/test/releases{/id}","deployments_url":"https://api.github.com/repos/karan01891/test/deployments","created_at":"2016-08-17T23:56:54Z","updated_at":"2016-08-17T23:56:57Z","pushed_at":"2016-08-17T23:59:30Z","git_url":"git://github.com/karan01891/test.git","ssh_url":"git@github.com:karan01891/test.git","clone_url":"https://github.com/karan01891/test.git","svn_url":"https://github.com/karan01891/test","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pbc-2016:master","ref":"master","sha":"dd81710b2bac462d03c0515f275e74213bc5f39f","user":{"login":"pbc-2016","id":20786246,"avatar_url":"https://avatars.githubusercontent.com/u/20786246?v=3","gravatar_id":"","url":"https://api.github.com/users/pbc-2016","html_url":"https://github.com/pbc-2016","followers_url":"https://api.github.com/users/pbc-2016/followers","following_url":"https://api.github.com/users/pbc-2016/following{/other_user}","gists_url":"https://api.github.com/users/pbc-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/pbc-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbc-2016/subscriptions","organizations_url":"https://api.github.com/users/pbc-2016/orgs","repos_url":"https://api.github.com/users/pbc-2016/repos","events_url":"https://api.github.com/users/pbc-2016/events{/privacy}","received_events_url":"https://api.github.com/users/pbc-2016/received_events","type":"Organization","site_admin":false},"repo":{"id":65924480,"name":"test","full_name":"pbc-2016/test","owner":{"login":"pbc-2016","id":20786246,"avatar_url":"https://avatars.githubusercontent.com/u/20786246?v=3","gravatar_id":"","url":"https://api.github.com/users/pbc-2016","html_url":"https://github.com/pbc-2016","followers_url":"https://api.github.com/users/pbc-2016/followers","following_url":"https://api.github.com/users/pbc-2016/following{/other_user}","gists_url":"https://api.github.com/users/pbc-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/pbc-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbc-2016/subscriptions","organizations_url":"https://api.github.com/users/pbc-2016/orgs","repos_url":"https://api.github.com/users/pbc-2016/repos","events_url":"https://api.github.com/users/pbc-2016/events{/privacy}","received_events_url":"https://api.github.com/users/pbc-2016/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pbc-2016/test","description":null,"fork":false,"url":"https://api.github.com/repos/pbc-2016/test","forks_url":"https://api.github.com/repos/pbc-2016/test/forks","keys_url":"https://api.github.com/repos/pbc-2016/test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pbc-2016/test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pbc-2016/test/teams","hooks_url":"https://api.github.com/repos/pbc-2016/test/hooks","issue_events_url":"https://api.github.com/repos/pbc-2016/test/issues/events{/number}","events_url":"https://api.github.com/repos/pbc-2016/test/events","assignees_url":"https://api.github.com/repos/pbc-2016/test/assignees{/user}","branches_url":"https://api.github.com/repos/pbc-2016/test/branches{/branch}","tags_url":"https://api.github.com/repos/pbc-2016/test/tags","blobs_url":"https://api.github.com/repos/pbc-2016/test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pbc-2016/test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pbc-2016/test/git/refs{/sha}","trees_url":"https://api.github.com/repos/pbc-2016/test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pbc-2016/test/statuses/{sha}","languages_url":"https://api.github.com/repos/pbc-2016/test/languages","stargazers_url":"https://api.github.com/repos/pbc-2016/test/stargazers","contributors_url":"https://api.github.com/repos/pbc-2016/test/contributors","subscribers_url":"https://api.github.com/repos/pbc-2016/test/subscribers","subscription_url":"https://api.github.com/repos/pbc-2016/test/subscription","commits_url":"https://api.github.com/repos/pbc-2016/test/commits{/sha}","git_commits_url":"https://api.github.com/repos/pbc-2016/test/git/commits{/sha}","comments_url":"https://api.github.com/repos/pbc-2016/test/comments{/number}","issue_comment_url":"https://api.github.com/repos/pbc-2016/test/issues/comments{/number}","contents_url":"https://api.github.com/repos/pbc-2016/test/contents/{+path}","compare_url":"https://api.github.com/repos/pbc-2016/test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pbc-2016/test/merges","archive_url":"https://api.github.com/repos/pbc-2016/test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pbc-2016/test/downloads","issues_url":"https://api.github.com/repos/pbc-2016/test/issues{/number}","pulls_url":"https://api.github.com/repos/pbc-2016/test/pulls{/number}","milestones_url":"https://api.github.com/repos/pbc-2016/test/milestones{/number}","notifications_url":"https://api.github.com/repos/pbc-2016/test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pbc-2016/test/labels{/name}","releases_url":"https://api.github.com/repos/pbc-2016/test/releases{/id}","deployments_url":"https://api.github.com/repos/pbc-2016/test/deployments","created_at":"2016-08-17T16:36:52Z","updated_at":"2016-08-17T22:30:18Z","pushed_at":"2016-08-18T06:35:25Z","git_url":"git://github.com/pbc-2016/test.git","ssh_url":"git@github.com:pbc-2016/test.git","clone_url":"https://github.com/pbc-2016/test.git","svn_url":"https://github.com/pbc-2016/test","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":30,"forks":32,"open_issues":30,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pbc-2016/test/pulls/3"},"html":{"href":"https://github.com/pbc-2016/test/pull/3"},"issue":{"href":"https://api.github.com/repos/pbc-2016/test/issues/3"},"comments":{"href":"https://api.github.com/repos/pbc-2016/test/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/pbc-2016/test/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/pbc-2016/test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pbc-2016/test/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/pbc-2016/test/statuses/ab2ad07b3dd74f891491d27fb6e7d19aa49c468a"}}}}
{"actor":{"display_login":"danielsgriffin"}}