{"action":"created","comment":{"url":"https://api.github.com/repos/Premisse/Algorithms/pulls/comments/218071885","pull_request_review_id":155926975,"id":218071885,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODA3MTg4NQ==","diff_hunk":"@@ -0,0 +1,28 @@\n+# Отсортировать по убыванию методом «пузырька» одномерный целочисленный массив, заданный случайными числами на промежутке [-100; 100).\n+# Вывести на экран исходный и отсортированный массивы.\n+\n+import random\n+\n+print(\"Отсортируем по убыванию одномерный целочисленный массив из 20 чисел в диапазоне от -100 до 100: \")\n+\n+array = [random.randint(-100, 100) for i in range(20)]\n+\n+print(array)\n+\n+def bubbleSort(arr):\n+    n = 1\n+    while n < len(arr):\n+        for i in range(len(arr) - 1):\n+            if arr[i] < arr[i + 1]:\n+                arr[i], arr[i + 1] = arr[i + 1], arr[i]\n+        for j, k in reversed(list(enumerate(arr))):","path":"less7_task1.py","position":18,"original_position":18,"commit_id":"716dd01f3b4289df4fdf5a3df23bacb091f54941","original_commit_id":"716dd01f3b4289df4fdf5a3df23bacb091f54941","user":{"login":"Dzhoker1","id":31956448,"node_id":"MDQ6VXNlcjMxOTU2NDQ4","avatar_url":"https://avatars2.githubusercontent.com/u/31956448?v=4","gravatar_id":"","url":"https://api.github.com/users/Dzhoker1","html_url":"https://github.com/Dzhoker1","followers_url":"https://api.github.com/users/Dzhoker1/followers","following_url":"https://api.github.com/users/Dzhoker1/following{/other_user}","gists_url":"https://api.github.com/users/Dzhoker1/gists{/gist_id}","starred_url":"https://api.github.com/users/Dzhoker1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dzhoker1/subscriptions","organizations_url":"https://api.github.com/users/Dzhoker1/orgs","repos_url":"https://api.github.com/users/Dzhoker1/repos","events_url":"https://api.github.com/users/Dzhoker1/events{/privacy}","received_events_url":"https://api.github.com/users/Dzhoker1/received_events","type":"User","site_admin":false},"body":"Сюжет алгоритма закручен как детективная история )))","created_at":"2018-09-17T13:40:29Z","updated_at":"2018-09-17T13:43:08Z","html_url":"https://github.com/Premisse/Algorithms/pull/7#discussion_r218071885","pull_request_url":"https://api.github.com/repos/Premisse/Algorithms/pulls/7","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Premisse/Algorithms/pulls/comments/218071885"},"html":{"href":"https://github.com/Premisse/Algorithms/pull/7#discussion_r218071885"},"pull_request":{"href":"https://api.github.com/repos/Premisse/Algorithms/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/Premisse/Algorithms/pulls/7","id":215848964,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1ODQ4OTY0","html_url":"https://github.com/Premisse/Algorithms/pull/7","diff_url":"https://github.com/Premisse/Algorithms/pull/7.diff","patch_url":"https://github.com/Premisse/Algorithms/pull/7.patch","issue_url":"https://api.github.com/repos/Premisse/Algorithms/issues/7","number":7,"state":"open","locked":false,"title":"Less7","user":{"login":"Premisse","id":40777098,"node_id":"MDQ6VXNlcjQwNzc3MDk4","avatar_url":"https://avatars3.githubusercontent.com/u/40777098?v=4","gravatar_id":"","url":"https://api.github.com/users/Premisse","html_url":"https://github.com/Premisse","followers_url":"https://api.github.com/users/Premisse/followers","following_url":"https://api.github.com/users/Premisse/following{/other_user}","gists_url":"https://api.github.com/users/Premisse/gists{/gist_id}","starred_url":"https://api.github.com/users/Premisse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Premisse/subscriptions","organizations_url":"https://api.github.com/users/Premisse/orgs","repos_url":"https://api.github.com/users/Premisse/repos","events_url":"https://api.github.com/users/Premisse/events{/privacy}","received_events_url":"https://api.github.com/users/Premisse/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-16T22:29:13Z","updated_at":"2018-09-17T13:43:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12a3eb0c1d81aeb6c2bef9759d368054b0a3990b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Premisse/Algorithms/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Premisse/Algorithms/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Premisse/Algorithms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Premisse/Algorithms/issues/7/comments","statuses_url":"https://api.github.com/repos/Premisse/Algorithms/statuses/716dd01f3b4289df4fdf5a3df23bacb091f54941","head":{"label":"Premisse:less7","ref":"less7","sha":"716dd01f3b4289df4fdf5a3df23bacb091f54941","user":{"login":"Premisse","id":40777098,"node_id":"MDQ6VXNlcjQwNzc3MDk4","avatar_url":"https://avatars3.githubusercontent.com/u/40777098?v=4","gravatar_id":"","url":"https://api.github.com/users/Premisse","html_url":"https://github.com/Premisse","followers_url":"https://api.github.com/users/Premisse/followers","following_url":"https://api.github.com/users/Premisse/following{/other_user}","gists_url":"https://api.github.com/users/Premisse/gists{/gist_id}","starred_url":"https://api.github.com/users/Premisse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Premisse/subscriptions","organizations_url":"https://api.github.com/users/Premisse/orgs","repos_url":"https://api.github.com/users/Premisse/repos","events_url":"https://api.github.com/users/Premisse/events{/privacy}","received_events_url":"https://api.github.com/users/Premisse/received_events","type":"User","site_admin":false},"repo":{"id":146049627,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYwNDk2Mjc=","name":"Algorithms","full_name":"Premisse/Algorithms","private":false,"owner":{"login":"Premisse","id":40777098,"node_id":"MDQ6VXNlcjQwNzc3MDk4","avatar_url":"https://avatars3.githubusercontent.com/u/40777098?v=4","gravatar_id":"","url":"https://api.github.com/users/Premisse","html_url":"https://github.com/Premisse","followers_url":"https://api.github.com/users/Premisse/followers","following_url":"https://api.github.com/users/Premisse/following{/other_user}","gists_url":"https://api.github.com/users/Premisse/gists{/gist_id}","starred_url":"https://api.github.com/users/Premisse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Premisse/subscriptions","organizations_url":"https://api.github.com/users/Premisse/orgs","repos_url":"https://api.github.com/users/Premisse/repos","events_url":"https://api.github.com/users/Premisse/events{/privacy}","received_events_url":"https://api.github.com/users/Premisse/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Premisse/Algorithms","description":null,"fork":false,"url":"https://api.github.com/repos/Premisse/Algorithms","forks_url":"https://api.github.com/repos/Premisse/Algorithms/forks","keys_url":"https://api.github.com/repos/Premisse/Algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Premisse/Algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Premisse/Algorithms/teams","hooks_url":"https://api.github.com/repos/Premisse/Algorithms/hooks","issue_events_url":"https://api.github.com/repos/Premisse/Algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/Premisse/Algorithms/events","assignees_url":"https://api.github.com/repos/Premisse/Algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/Premisse/Algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/Premisse/Algorithms/tags","blobs_url":"https://api.github.com/repos/Premisse/Algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Premisse/Algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Premisse/Algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/Premisse/Algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Premisse/Algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/Premisse/Algorithms/languages","stargazers_url":"https://api.github.com/repos/Premisse/Algorithms/stargazers","contributors_url":"https://api.github.com/repos/Premisse/Algorithms/contributors","subscribers_url":"https://api.github.com/repos/Premisse/Algorithms/subscribers","subscription_url":"https://api.github.com/repos/Premisse/Algorithms/subscription","commits_url":"https://api.github.com/repos/Premisse/Algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/Premisse/Algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/Premisse/Algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/Premisse/Algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/Premisse/Algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/Premisse/Algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Premisse/Algorithms/merges","archive_url":"https://api.github.com/repos/Premisse/Algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Premisse/Algorithms/downloads","issues_url":"https://api.github.com/repos/Premisse/Algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/Premisse/Algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/Premisse/Algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/Premisse/Algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Premisse/Algorithms/labels{/name}","releases_url":"https://api.github.com/repos/Premisse/Algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/Premisse/Algorithms/deployments","created_at":"2018-08-24T23:48:25Z","updated_at":"2018-09-06T19:22:31Z","pushed_at":"2018-09-16T22:29:13Z","git_url":"git://github.com/Premisse/Algorithms.git","ssh_url":"git@github.com:Premisse/Algorithms.git","clone_url":"https://github.com/Premisse/Algorithms.git","svn_url":"https://github.com/Premisse/Algorithms","homepage":null,"size":27,"stargazers_count":0,"watchers_count":0,"language":"Python","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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Premisse:master","ref":"master","sha":"db04683507deb5e1936616d70ff6a3b610fceb99","user":{"login":"Premisse","id":40777098,"node_id":"MDQ6VXNlcjQwNzc3MDk4","avatar_url":"https://avatars3.githubusercontent.com/u/40777098?v=4","gravatar_id":"","url":"https://api.github.com/users/Premisse","html_url":"https://github.com/Premisse","followers_url":"https://api.github.com/users/Premisse/followers","following_url":"https://api.github.com/users/Premisse/following{/other_user}","gists_url":"https://api.github.com/users/Premisse/gists{/gist_id}","starred_url":"https://api.github.com/users/Premisse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Premisse/subscriptions","organizations_url":"https://api.github.com/users/Premisse/orgs","repos_url":"https://api.github.com/users/Premisse/repos","events_url":"https://api.github.com/users/Premisse/events{/privacy}","received_events_url":"https://api.github.com/users/Premisse/received_events","type":"User","site_admin":false},"repo":{"id":146049627,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYwNDk2Mjc=","name":"Algorithms","full_name":"Premisse/Algorithms","private":false,"owner":{"login":"Premisse","id":40777098,"node_id":"MDQ6VXNlcjQwNzc3MDk4","avatar_url":"https://avatars3.githubusercontent.com/u/40777098?v=4","gravatar_id":"","url":"https://api.github.com/users/Premisse","html_url":"https://github.com/Premisse","followers_url":"https://api.github.com/users/Premisse/followers","following_url":"https://api.github.com/users/Premisse/following{/other_user}","gists_url":"https://api.github.com/users/Premisse/gists{/gist_id}","starred_url":"https://api.github.com/users/Premisse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Premisse/subscriptions","organizations_url":"https://api.github.com/users/Premisse/orgs","repos_url":"https://api.github.com/users/Premisse/repos","events_url":"https://api.github.com/users/Premisse/events{/privacy}","received_events_url":"https://api.github.com/users/Premisse/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Premisse/Algorithms","description":null,"fork":false,"url":"https://api.github.com/repos/Premisse/Algorithms","forks_url":"https://api.github.com/repos/Premisse/Algorithms/forks","keys_url":"https://api.github.com/repos/Premisse/Algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Premisse/Algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Premisse/Algorithms/teams","hooks_url":"https://api.github.com/repos/Premisse/Algorithms/hooks","issue_events_url":"https://api.github.com/repos/Premisse/Algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/Premisse/Algorithms/events","assignees_url":"https://api.github.com/repos/Premisse/Algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/Premisse/Algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/Premisse/Algorithms/tags","blobs_url":"https://api.github.com/repos/Premisse/Algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Premisse/Algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Premisse/Algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/Premisse/Algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Premisse/Algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/Premisse/Algorithms/languages","stargazers_url":"https://api.github.com/repos/Premisse/Algorithms/stargazers","contributors_url":"https://api.github.com/repos/Premisse/Algorithms/contributors","subscribers_url":"https://api.github.com/repos/Premisse/Algorithms/subscribers","subscription_url":"https://api.github.com/repos/Premisse/Algorithms/subscription","commits_url":"https://api.github.com/repos/Premisse/Algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/Premisse/Algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/Premisse/Algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/Premisse/Algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/Premisse/Algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/Premisse/Algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Premisse/Algorithms/merges","archive_url":"https://api.github.com/repos/Premisse/Algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Premisse/Algorithms/downloads","issues_url":"https://api.github.com/repos/Premisse/Algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/Premisse/Algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/Premisse/Algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/Premisse/Algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Premisse/Algorithms/labels{/name}","releases_url":"https://api.github.com/repos/Premisse/Algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/Premisse/Algorithms/deployments","created_at":"2018-08-24T23:48:25Z","updated_at":"2018-09-06T19:22:31Z","pushed_at":"2018-09-16T22:29:13Z","git_url":"git://github.com/Premisse/Algorithms.git","ssh_url":"git@github.com:Premisse/Algorithms.git","clone_url":"https://github.com/Premisse/Algorithms.git","svn_url":"https://github.com/Premisse/Algorithms","homepage":null,"size":27,"stargazers_count":0,"watchers_count":0,"language":"Python","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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Premisse/Algorithms/pulls/7"},"html":{"href":"https://github.com/Premisse/Algorithms/pull/7"},"issue":{"href":"https://api.github.com/repos/Premisse/Algorithms/issues/7"},"comments":{"href":"https://api.github.com/repos/Premisse/Algorithms/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Premisse/Algorithms/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Premisse/Algorithms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Premisse/Algorithms/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Premisse/Algorithms/statuses/716dd01f3b4289df4fdf5a3df23bacb091f54941"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Dzhoker1"}}