{"action":"created","comment":{"url":"https://api.github.com/repos/alenaPy/bi_lab/pulls/comments/191081878","pull_request_review_id":123589113,"id":191081878,"diff_hunk":"@@ -0,0 +1,51 @@\n+# 1 Use a list comprehension to construct the\n+# list ['ab', 'ac', 'ad', 'bb', 'bc', 'bd']\n+\n+list1 = ['ab', 'ac', 'ad', 'bb', 'bc', 'bd']\n+\n+print(list1)\n+\n+# 2 Use a slice on the above list to construct the\n+# list ['ab', 'ad', 'bc'].\n+\n+list2 = list1[::2]\n+\n+print(list2)\n+\n+# 3 Use a list comprehension to construct\n+# the list ['1a', '2a', '3a', '4a'].\n+\n+list3 = ['1a', '2a', '3a', '4a']","path":"task3/task3_1.py","position":18,"original_position":18,"commit_id":"42f09bbd23400d204ff33a9f0e2e27ca8853882c","original_commit_id":"42f09bbd23400d204ff33a9f0e2e27ca8853882c","user":{"login":"alenaPy","id":17473831,"avatar_url":"https://avatars1.githubusercontent.com/u/17473831?v=4","gravatar_id":"","url":"https://api.github.com/users/alenaPy","html_url":"https://github.com/alenaPy","followers_url":"https://api.github.com/users/alenaPy/followers","following_url":"https://api.github.com/users/alenaPy/following{/other_user}","gists_url":"https://api.github.com/users/alenaPy/gists{/gist_id}","starred_url":"https://api.github.com/users/alenaPy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alenaPy/subscriptions","organizations_url":"https://api.github.com/users/alenaPy/orgs","repos_url":"https://api.github.com/users/alenaPy/repos","events_url":"https://api.github.com/users/alenaPy/events{/privacy}","received_events_url":"https://api.github.com/users/alenaPy/received_events","type":"User","site_admin":false},"body":"Please use a list comprehension to initialize list","created_at":"2018-05-27T16:36:59Z","updated_at":"2018-05-27T16:58:28Z","html_url":"https://github.com/alenaPy/bi_lab/pull/40#discussion_r191081878","pull_request_url":"https://api.github.com/repos/alenaPy/bi_lab/pulls/40","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/alenaPy/bi_lab/pulls/comments/191081878"},"html":{"href":"https://github.com/alenaPy/bi_lab/pull/40#discussion_r191081878"},"pull_request":{"href":"https://api.github.com/repos/alenaPy/bi_lab/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/alenaPy/bi_lab/pulls/40","id":190247020,"html_url":"https://github.com/alenaPy/bi_lab/pull/40","diff_url":"https://github.com/alenaPy/bi_lab/pull/40.diff","patch_url":"https://github.com/alenaPy/bi_lab/pull/40.patch","issue_url":"https://api.github.com/repos/alenaPy/bi_lab/issues/40","number":40,"state":"open","locked":false,"title":"Homework3: Krystsina Bahdanava","user":{"login":"KrystsinaBahdanava","id":19881257,"avatar_url":"https://avatars2.githubusercontent.com/u/19881257?v=4","gravatar_id":"","url":"https://api.github.com/users/KrystsinaBahdanava","html_url":"https://github.com/KrystsinaBahdanava","followers_url":"https://api.github.com/users/KrystsinaBahdanava/followers","following_url":"https://api.github.com/users/KrystsinaBahdanava/following{/other_user}","gists_url":"https://api.github.com/users/KrystsinaBahdanava/gists{/gist_id}","starred_url":"https://api.github.com/users/KrystsinaBahdanava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrystsinaBahdanava/subscriptions","organizations_url":"https://api.github.com/users/KrystsinaBahdanava/orgs","repos_url":"https://api.github.com/users/KrystsinaBahdanava/repos","events_url":"https://api.github.com/users/KrystsinaBahdanava/events{/privacy}","received_events_url":"https://api.github.com/users/KrystsinaBahdanava/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-24T10:50:46Z","updated_at":"2018-05-27T16:58:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae5b1c60c64c21d5269d1818f380c43a5df041c6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alenaPy/bi_lab/pulls/40/commits","review_comments_url":"https://api.github.com/repos/alenaPy/bi_lab/pulls/40/comments","review_comment_url":"https://api.github.com/repos/alenaPy/bi_lab/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alenaPy/bi_lab/issues/40/comments","statuses_url":"https://api.github.com/repos/alenaPy/bi_lab/statuses/42f09bbd23400d204ff33a9f0e2e27ca8853882c","head":{"label":"KrystsinaBahdanava:homework3","ref":"homework3","sha":"42f09bbd23400d204ff33a9f0e2e27ca8853882c","user":{"login":"KrystsinaBahdanava","id":19881257,"avatar_url":"https://avatars2.githubusercontent.com/u/19881257?v=4","gravatar_id":"","url":"https://api.github.com/users/KrystsinaBahdanava","html_url":"https://github.com/KrystsinaBahdanava","followers_url":"https://api.github.com/users/KrystsinaBahdanava/followers","following_url":"https://api.github.com/users/KrystsinaBahdanava/following{/other_user}","gists_url":"https://api.github.com/users/KrystsinaBahdanava/gists{/gist_id}","starred_url":"https://api.github.com/users/KrystsinaBahdanava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrystsinaBahdanava/subscriptions","organizations_url":"https://api.github.com/users/KrystsinaBahdanava/orgs","repos_url":"https://api.github.com/users/KrystsinaBahdanava/repos","events_url":"https://api.github.com/users/KrystsinaBahdanava/events{/privacy}","received_events_url":"https://api.github.com/users/KrystsinaBahdanava/received_events","type":"User","site_admin":false},"repo":{"id":134536481,"name":"bi_lab","full_name":"KrystsinaBahdanava/bi_lab","owner":{"login":"KrystsinaBahdanava","id":19881257,"avatar_url":"https://avatars2.githubusercontent.com/u/19881257?v=4","gravatar_id":"","url":"https://api.github.com/users/KrystsinaBahdanava","html_url":"https://github.com/KrystsinaBahdanava","followers_url":"https://api.github.com/users/KrystsinaBahdanava/followers","following_url":"https://api.github.com/users/KrystsinaBahdanava/following{/other_user}","gists_url":"https://api.github.com/users/KrystsinaBahdanava/gists{/gist_id}","starred_url":"https://api.github.com/users/KrystsinaBahdanava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrystsinaBahdanava/subscriptions","organizations_url":"https://api.github.com/users/KrystsinaBahdanava/orgs","repos_url":"https://api.github.com/users/KrystsinaBahdanava/repos","events_url":"https://api.github.com/users/KrystsinaBahdanava/events{/privacy}","received_events_url":"https://api.github.com/users/KrystsinaBahdanava/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KrystsinaBahdanava/bi_lab","description":null,"fork":true,"url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab","forks_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/forks","keys_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/teams","hooks_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/hooks","issue_events_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/issues/events{/number}","events_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/events","assignees_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/assignees{/user}","branches_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/branches{/branch}","tags_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/tags","blobs_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/git/refs{/sha}","trees_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/statuses/{sha}","languages_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/languages","stargazers_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/stargazers","contributors_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/contributors","subscribers_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/subscribers","subscription_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/subscription","commits_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/commits{/sha}","git_commits_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/git/commits{/sha}","comments_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/comments{/number}","issue_comment_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/issues/comments{/number}","contents_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/contents/{+path}","compare_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/merges","archive_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/downloads","issues_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/issues{/number}","pulls_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/pulls{/number}","milestones_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/milestones{/number}","notifications_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/labels{/name}","releases_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/releases{/id}","deployments_url":"https://api.github.com/repos/KrystsinaBahdanava/bi_lab/deployments","created_at":"2018-05-23T08:15:46Z","updated_at":"2018-05-23T08:15:48Z","pushed_at":"2018-05-25T12:15:35Z","git_url":"git://github.com/KrystsinaBahdanava/bi_lab.git","ssh_url":"git@github.com:KrystsinaBahdanava/bi_lab.git","clone_url":"https://github.com/KrystsinaBahdanava/bi_lab.git","svn_url":"https://github.com/KrystsinaBahdanava/bi_lab","homepage":null,"size":146,"stargazers_count":0,"watchers_count":0,"language":null,"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":"alenaPy:master","ref":"master","sha":"e21943ca2c99c84499babe73009a12a64aac3221","user":{"login":"alenaPy","id":17473831,"avatar_url":"https://avatars1.githubusercontent.com/u/17473831?v=4","gravatar_id":"","url":"https://api.github.com/users/alenaPy","html_url":"https://github.com/alenaPy","followers_url":"https://api.github.com/users/alenaPy/followers","following_url":"https://api.github.com/users/alenaPy/following{/other_user}","gists_url":"https://api.github.com/users/alenaPy/gists{/gist_id}","starred_url":"https://api.github.com/users/alenaPy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alenaPy/subscriptions","organizations_url":"https://api.github.com/users/alenaPy/orgs","repos_url":"https://api.github.com/users/alenaPy/repos","events_url":"https://api.github.com/users/alenaPy/events{/privacy}","received_events_url":"https://api.github.com/users/alenaPy/received_events","type":"User","site_admin":false},"repo":{"id":134157662,"name":"bi_lab","full_name":"alenaPy/bi_lab","owner":{"login":"alenaPy","id":17473831,"avatar_url":"https://avatars1.githubusercontent.com/u/17473831?v=4","gravatar_id":"","url":"https://api.github.com/users/alenaPy","html_url":"https://github.com/alenaPy","followers_url":"https://api.github.com/users/alenaPy/followers","following_url":"https://api.github.com/users/alenaPy/following{/other_user}","gists_url":"https://api.github.com/users/alenaPy/gists{/gist_id}","starred_url":"https://api.github.com/users/alenaPy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alenaPy/subscriptions","organizations_url":"https://api.github.com/users/alenaPy/orgs","repos_url":"https://api.github.com/users/alenaPy/repos","events_url":"https://api.github.com/users/alenaPy/events{/privacy}","received_events_url":"https://api.github.com/users/alenaPy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alenaPy/bi_lab","description":null,"fork":false,"url":"https://api.github.com/repos/alenaPy/bi_lab","forks_url":"https://api.github.com/repos/alenaPy/bi_lab/forks","keys_url":"https://api.github.com/repos/alenaPy/bi_lab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alenaPy/bi_lab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alenaPy/bi_lab/teams","hooks_url":"https://api.github.com/repos/alenaPy/bi_lab/hooks","issue_events_url":"https://api.github.com/repos/alenaPy/bi_lab/issues/events{/number}","events_url":"https://api.github.com/repos/alenaPy/bi_lab/events","assignees_url":"https://api.github.com/repos/alenaPy/bi_lab/assignees{/user}","branches_url":"https://api.github.com/repos/alenaPy/bi_lab/branches{/branch}","tags_url":"https://api.github.com/repos/alenaPy/bi_lab/tags","blobs_url":"https://api.github.com/repos/alenaPy/bi_lab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alenaPy/bi_lab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alenaPy/bi_lab/git/refs{/sha}","trees_url":"https://api.github.com/repos/alenaPy/bi_lab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alenaPy/bi_lab/statuses/{sha}","languages_url":"https://api.github.com/repos/alenaPy/bi_lab/languages","stargazers_url":"https://api.github.com/repos/alenaPy/bi_lab/stargazers","contributors_url":"https://api.github.com/repos/alenaPy/bi_lab/contributors","subscribers_url":"https://api.github.com/repos/alenaPy/bi_lab/subscribers","subscription_url":"https://api.github.com/repos/alenaPy/bi_lab/subscription","commits_url":"https://api.github.com/repos/alenaPy/bi_lab/commits{/sha}","git_commits_url":"https://api.github.com/repos/alenaPy/bi_lab/git/commits{/sha}","comments_url":"https://api.github.com/repos/alenaPy/bi_lab/comments{/number}","issue_comment_url":"https://api.github.com/repos/alenaPy/bi_lab/issues/comments{/number}","contents_url":"https://api.github.com/repos/alenaPy/bi_lab/contents/{+path}","compare_url":"https://api.github.com/repos/alenaPy/bi_lab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alenaPy/bi_lab/merges","archive_url":"https://api.github.com/repos/alenaPy/bi_lab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alenaPy/bi_lab/downloads","issues_url":"https://api.github.com/repos/alenaPy/bi_lab/issues{/number}","pulls_url":"https://api.github.com/repos/alenaPy/bi_lab/pulls{/number}","milestones_url":"https://api.github.com/repos/alenaPy/bi_lab/milestones{/number}","notifications_url":"https://api.github.com/repos/alenaPy/bi_lab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alenaPy/bi_lab/labels{/name}","releases_url":"https://api.github.com/repos/alenaPy/bi_lab/releases{/id}","deployments_url":"https://api.github.com/repos/alenaPy/bi_lab/deployments","created_at":"2018-05-20T14:29:48Z","updated_at":"2018-05-22T14:15:58Z","pushed_at":"2018-05-27T14:00:17Z","git_url":"git://github.com/alenaPy/bi_lab.git","ssh_url":"git@github.com:alenaPy/bi_lab.git","clone_url":"https://github.com/alenaPy/bi_lab.git","svn_url":"https://github.com/alenaPy/bi_lab","homepage":null,"size":2,"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":12,"mirror_url":null,"archived":false,"open_issues_count":35,"license":null,"forks":12,"open_issues":35,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alenaPy/bi_lab/pulls/40"},"html":{"href":"https://github.com/alenaPy/bi_lab/pull/40"},"issue":{"href":"https://api.github.com/repos/alenaPy/bi_lab/issues/40"},"comments":{"href":"https://api.github.com/repos/alenaPy/bi_lab/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/alenaPy/bi_lab/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/alenaPy/bi_lab/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alenaPy/bi_lab/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/alenaPy/bi_lab/statuses/42f09bbd23400d204ff33a9f0e2e27ca8853882c"}},"author_association":"NONE"}}
{"actor":{"display_login":"alenaPy"}}