{"action":"created","comment":{"url":"https://api.github.com/repos/kosolapova/homework_python/pulls/comments/218269639","pull_request_review_id":156169012,"id":218269639,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODI2OTYzOQ==","diff_hunk":"@@ -0,0 +1,53 @@\n+\n+\n+\n+def sheet_data(sheet):\n+\n+    out = list()\n+\n+    sheetIndex = 0\n+    for X in range(1, s.nrows):\n+        learner = s.row_values(X)\n+        print(learner)\n+        average=sum(learner)\n+        out.append([learner[1], average])\n+\n+    return out\n+\n+def sum(learner):\n+    average = 0\n+    for score in range(2, len(learner)) :\n+        average = average+learner[score] // 2\n+        if debug>0:\n+            print(learner[score], average)\n+    return average\n+\n+import xlrd\n+\n+a = xlrd.open_workbook(\"БИОЛОГИ_ таблица успеваемости осень 2018.xlsx\")\n+debug = 1\n+\n+for s in a.sheets():\n+    if (s.name == 'Python') == True:\n+        out = sheet_data(s)\n+        if debug == 1:\n+            print(out)\n+\n+\n+class PRESENT_RESULT  :\n+    def __init__(self, a):\n+        self.a=a\n+    def __str__(self):\n+        return self.a\n+\n+\n+\n+\n+print(\"RESULT:\")\n+\n+resultat = ''","path":"Untitled.py","position":48,"original_position":48,"commit_id":"65edac2800074ed6603f3a27732b845ee00d5b5b","original_commit_id":"65edac2800074ed6603f3a27732b845ee00d5b5b","user":{"login":"kosolapova","id":43272020,"node_id":"MDQ6VXNlcjQzMjcyMDIw","avatar_url":"https://avatars0.githubusercontent.com/u/43272020?v=4","gravatar_id":"","url":"https://api.github.com/users/kosolapova","html_url":"https://github.com/kosolapova","followers_url":"https://api.github.com/users/kosolapova/followers","following_url":"https://api.github.com/users/kosolapova/following{/other_user}","gists_url":"https://api.github.com/users/kosolapova/gists{/gist_id}","starred_url":"https://api.github.com/users/kosolapova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosolapova/subscriptions","organizations_url":"https://api.github.com/users/kosolapova/orgs","repos_url":"https://api.github.com/users/kosolapova/repos","events_url":"https://api.github.com/users/kosolapova/events{/privacy}","received_events_url":"https://api.github.com/users/kosolapova/received_events","type":"User","site_admin":false},"body":"Translit can be used, but it's better to avoid it. ","created_at":"2018-09-18T00:35:31Z","updated_at":"2018-09-18T00:35:31Z","html_url":"https://github.com/kosolapova/homework_python/pull/1#discussion_r218269639","pull_request_url":"https://api.github.com/repos/kosolapova/homework_python/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/kosolapova/homework_python/pulls/comments/218269639"},"html":{"href":"https://github.com/kosolapova/homework_python/pull/1#discussion_r218269639"},"pull_request":{"href":"https://api.github.com/repos/kosolapova/homework_python/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/kosolapova/homework_python/pulls/1","id":215846473,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1ODQ2NDcz","html_url":"https://github.com/kosolapova/homework_python/pull/1","diff_url":"https://github.com/kosolapova/homework_python/pull/1.diff","patch_url":"https://github.com/kosolapova/homework_python/pull/1.patch","issue_url":"https://api.github.com/repos/kosolapova/homework_python/issues/1","number":1,"state":"open","locked":false,"title":"File for review","user":{"login":"kosolapova","id":43272020,"node_id":"MDQ6VXNlcjQzMjcyMDIw","avatar_url":"https://avatars0.githubusercontent.com/u/43272020?v=4","gravatar_id":"","url":"https://api.github.com/users/kosolapova","html_url":"https://github.com/kosolapova","followers_url":"https://api.github.com/users/kosolapova/followers","following_url":"https://api.github.com/users/kosolapova/following{/other_user}","gists_url":"https://api.github.com/users/kosolapova/gists{/gist_id}","starred_url":"https://api.github.com/users/kosolapova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosolapova/subscriptions","organizations_url":"https://api.github.com/users/kosolapova/orgs","repos_url":"https://api.github.com/users/kosolapova/repos","events_url":"https://api.github.com/users/kosolapova/events{/privacy}","received_events_url":"https://api.github.com/users/kosolapova/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-16T21:32:16Z","updated_at":"2018-09-18T00:35:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"434815ff49c50020f7674e605ee6575e15fddd33","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kosolapova/homework_python/pulls/1/commits","review_comments_url":"https://api.github.com/repos/kosolapova/homework_python/pulls/1/comments","review_comment_url":"https://api.github.com/repos/kosolapova/homework_python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kosolapova/homework_python/issues/1/comments","statuses_url":"https://api.github.com/repos/kosolapova/homework_python/statuses/65edac2800074ed6603f3a27732b845ee00d5b5b","head":{"label":"kosolapova:homework-0","ref":"homework-0","sha":"65edac2800074ed6603f3a27732b845ee00d5b5b","user":{"login":"kosolapova","id":43272020,"node_id":"MDQ6VXNlcjQzMjcyMDIw","avatar_url":"https://avatars0.githubusercontent.com/u/43272020?v=4","gravatar_id":"","url":"https://api.github.com/users/kosolapova","html_url":"https://github.com/kosolapova","followers_url":"https://api.github.com/users/kosolapova/followers","following_url":"https://api.github.com/users/kosolapova/following{/other_user}","gists_url":"https://api.github.com/users/kosolapova/gists{/gist_id}","starred_url":"https://api.github.com/users/kosolapova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosolapova/subscriptions","organizations_url":"https://api.github.com/users/kosolapova/orgs","repos_url":"https://api.github.com/users/kosolapova/repos","events_url":"https://api.github.com/users/kosolapova/events{/privacy}","received_events_url":"https://api.github.com/users/kosolapova/received_events","type":"User","site_admin":false},"repo":{"id":149035550,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkwMzU1NTA=","name":"homework_python","full_name":"kosolapova/homework_python","private":false,"owner":{"login":"kosolapova","id":43272020,"node_id":"MDQ6VXNlcjQzMjcyMDIw","avatar_url":"https://avatars0.githubusercontent.com/u/43272020?v=4","gravatar_id":"","url":"https://api.github.com/users/kosolapova","html_url":"https://github.com/kosolapova","followers_url":"https://api.github.com/users/kosolapova/followers","following_url":"https://api.github.com/users/kosolapova/following{/other_user}","gists_url":"https://api.github.com/users/kosolapova/gists{/gist_id}","starred_url":"https://api.github.com/users/kosolapova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosolapova/subscriptions","organizations_url":"https://api.github.com/users/kosolapova/orgs","repos_url":"https://api.github.com/users/kosolapova/repos","events_url":"https://api.github.com/users/kosolapova/events{/privacy}","received_events_url":"https://api.github.com/users/kosolapova/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kosolapova/homework_python","description":null,"fork":false,"url":"https://api.github.com/repos/kosolapova/homework_python","forks_url":"https://api.github.com/repos/kosolapova/homework_python/forks","keys_url":"https://api.github.com/repos/kosolapova/homework_python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kosolapova/homework_python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kosolapova/homework_python/teams","hooks_url":"https://api.github.com/repos/kosolapova/homework_python/hooks","issue_events_url":"https://api.github.com/repos/kosolapova/homework_python/issues/events{/number}","events_url":"https://api.github.com/repos/kosolapova/homework_python/events","assignees_url":"https://api.github.com/repos/kosolapova/homework_python/assignees{/user}","branches_url":"https://api.github.com/repos/kosolapova/homework_python/branches{/branch}","tags_url":"https://api.github.com/repos/kosolapova/homework_python/tags","blobs_url":"https://api.github.com/repos/kosolapova/homework_python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kosolapova/homework_python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kosolapova/homework_python/git/refs{/sha}","trees_url":"https://api.github.com/repos/kosolapova/homework_python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kosolapova/homework_python/statuses/{sha}","languages_url":"https://api.github.com/repos/kosolapova/homework_python/languages","stargazers_url":"https://api.github.com/repos/kosolapova/homework_python/stargazers","contributors_url":"https://api.github.com/repos/kosolapova/homework_python/contributors","subscribers_url":"https://api.github.com/repos/kosolapova/homework_python/subscribers","subscription_url":"https://api.github.com/repos/kosolapova/homework_python/subscription","commits_url":"https://api.github.com/repos/kosolapova/homework_python/commits{/sha}","git_commits_url":"https://api.github.com/repos/kosolapova/homework_python/git/commits{/sha}","comments_url":"https://api.github.com/repos/kosolapova/homework_python/comments{/number}","issue_comment_url":"https://api.github.com/repos/kosolapova/homework_python/issues/comments{/number}","contents_url":"https://api.github.com/repos/kosolapova/homework_python/contents/{+path}","compare_url":"https://api.github.com/repos/kosolapova/homework_python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kosolapova/homework_python/merges","archive_url":"https://api.github.com/repos/kosolapova/homework_python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kosolapova/homework_python/downloads","issues_url":"https://api.github.com/repos/kosolapova/homework_python/issues{/number}","pulls_url":"https://api.github.com/repos/kosolapova/homework_python/pulls{/number}","milestones_url":"https://api.github.com/repos/kosolapova/homework_python/milestones{/number}","notifications_url":"https://api.github.com/repos/kosolapova/homework_python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kosolapova/homework_python/labels{/name}","releases_url":"https://api.github.com/repos/kosolapova/homework_python/releases{/id}","deployments_url":"https://api.github.com/repos/kosolapova/homework_python/deployments","created_at":"2018-09-16T21:00:10Z","updated_at":"2018-09-16T21:02:35Z","pushed_at":"2018-09-16T21:32:16Z","git_url":"git://github.com/kosolapova/homework_python.git","ssh_url":"git@github.com:kosolapova/homework_python.git","clone_url":"https://github.com/kosolapova/homework_python.git","svn_url":"https://github.com/kosolapova/homework_python","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kosolapova:master","ref":"master","sha":"0e7d12f608c3d6e1385b6ee91b195857be3d16e3","user":{"login":"kosolapova","id":43272020,"node_id":"MDQ6VXNlcjQzMjcyMDIw","avatar_url":"https://avatars0.githubusercontent.com/u/43272020?v=4","gravatar_id":"","url":"https://api.github.com/users/kosolapova","html_url":"https://github.com/kosolapova","followers_url":"https://api.github.com/users/kosolapova/followers","following_url":"https://api.github.com/users/kosolapova/following{/other_user}","gists_url":"https://api.github.com/users/kosolapova/gists{/gist_id}","starred_url":"https://api.github.com/users/kosolapova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosolapova/subscriptions","organizations_url":"https://api.github.com/users/kosolapova/orgs","repos_url":"https://api.github.com/users/kosolapova/repos","events_url":"https://api.github.com/users/kosolapova/events{/privacy}","received_events_url":"https://api.github.com/users/kosolapova/received_events","type":"User","site_admin":false},"repo":{"id":149035550,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkwMzU1NTA=","name":"homework_python","full_name":"kosolapova/homework_python","private":false,"owner":{"login":"kosolapova","id":43272020,"node_id":"MDQ6VXNlcjQzMjcyMDIw","avatar_url":"https://avatars0.githubusercontent.com/u/43272020?v=4","gravatar_id":"","url":"https://api.github.com/users/kosolapova","html_url":"https://github.com/kosolapova","followers_url":"https://api.github.com/users/kosolapova/followers","following_url":"https://api.github.com/users/kosolapova/following{/other_user}","gists_url":"https://api.github.com/users/kosolapova/gists{/gist_id}","starred_url":"https://api.github.com/users/kosolapova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosolapova/subscriptions","organizations_url":"https://api.github.com/users/kosolapova/orgs","repos_url":"https://api.github.com/users/kosolapova/repos","events_url":"https://api.github.com/users/kosolapova/events{/privacy}","received_events_url":"https://api.github.com/users/kosolapova/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kosolapova/homework_python","description":null,"fork":false,"url":"https://api.github.com/repos/kosolapova/homework_python","forks_url":"https://api.github.com/repos/kosolapova/homework_python/forks","keys_url":"https://api.github.com/repos/kosolapova/homework_python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kosolapova/homework_python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kosolapova/homework_python/teams","hooks_url":"https://api.github.com/repos/kosolapova/homework_python/hooks","issue_events_url":"https://api.github.com/repos/kosolapova/homework_python/issues/events{/number}","events_url":"https://api.github.com/repos/kosolapova/homework_python/events","assignees_url":"https://api.github.com/repos/kosolapova/homework_python/assignees{/user}","branches_url":"https://api.github.com/repos/kosolapova/homework_python/branches{/branch}","tags_url":"https://api.github.com/repos/kosolapova/homework_python/tags","blobs_url":"https://api.github.com/repos/kosolapova/homework_python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kosolapova/homework_python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kosolapova/homework_python/git/refs{/sha}","trees_url":"https://api.github.com/repos/kosolapova/homework_python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kosolapova/homework_python/statuses/{sha}","languages_url":"https://api.github.com/repos/kosolapova/homework_python/languages","stargazers_url":"https://api.github.com/repos/kosolapova/homework_python/stargazers","contributors_url":"https://api.github.com/repos/kosolapova/homework_python/contributors","subscribers_url":"https://api.github.com/repos/kosolapova/homework_python/subscribers","subscription_url":"https://api.github.com/repos/kosolapova/homework_python/subscription","commits_url":"https://api.github.com/repos/kosolapova/homework_python/commits{/sha}","git_commits_url":"https://api.github.com/repos/kosolapova/homework_python/git/commits{/sha}","comments_url":"https://api.github.com/repos/kosolapova/homework_python/comments{/number}","issue_comment_url":"https://api.github.com/repos/kosolapova/homework_python/issues/comments{/number}","contents_url":"https://api.github.com/repos/kosolapova/homework_python/contents/{+path}","compare_url":"https://api.github.com/repos/kosolapova/homework_python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kosolapova/homework_python/merges","archive_url":"https://api.github.com/repos/kosolapova/homework_python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kosolapova/homework_python/downloads","issues_url":"https://api.github.com/repos/kosolapova/homework_python/issues{/number}","pulls_url":"https://api.github.com/repos/kosolapova/homework_python/pulls{/number}","milestones_url":"https://api.github.com/repos/kosolapova/homework_python/milestones{/number}","notifications_url":"https://api.github.com/repos/kosolapova/homework_python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kosolapova/homework_python/labels{/name}","releases_url":"https://api.github.com/repos/kosolapova/homework_python/releases{/id}","deployments_url":"https://api.github.com/repos/kosolapova/homework_python/deployments","created_at":"2018-09-16T21:00:10Z","updated_at":"2018-09-16T21:02:35Z","pushed_at":"2018-09-16T21:32:16Z","git_url":"git://github.com/kosolapova/homework_python.git","ssh_url":"git@github.com:kosolapova/homework_python.git","clone_url":"https://github.com/kosolapova/homework_python.git","svn_url":"https://github.com/kosolapova/homework_python","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kosolapova/homework_python/pulls/1"},"html":{"href":"https://github.com/kosolapova/homework_python/pull/1"},"issue":{"href":"https://api.github.com/repos/kosolapova/homework_python/issues/1"},"comments":{"href":"https://api.github.com/repos/kosolapova/homework_python/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/kosolapova/homework_python/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/kosolapova/homework_python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kosolapova/homework_python/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/kosolapova/homework_python/statuses/65edac2800074ed6603f3a27732b845ee00d5b5b"}},"author_association":"OWNER"}}
{"actor":{"display_login":"kosolapova"}}