{"action":"created","comment":{"url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/pulls/comments/263990482","pull_request_review_id":212552078,"id":263990482,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI2Mzk5MDQ4Mg==","diff_hunk":"@@ -1,2 +1,13 @@\n # 3.\tПо введенным пользователем координатам двух точек вывести\n # уравнение прямой вида y = kx + b, проходящей через эти точки.\n+# coding utf-8\n+\n+__author__ = 'E-K'\n+\n+coord_list = [input(\n+    'Введите координаты {} точки, разделенные пробелом - '.format(el + 1)).split() for el in range(2)]\n+coord_list = [list(map(int, el)) for el in coord_list]\n+k = round((coord_list[0][1] - coord_list[1][1]) /\n+          (coord_list[0][0] - coord_list[1][0]), 2)\n+b = round(coord_list[0][1] - k * coord_list[0][0], 2)\n+print('Уравнение прямой - y = {}x + {}'.format(k, b))","path":"Lesson_1/3.py","position":13,"original_position":13,"commit_id":"38492de702968556397f16dd2716e78edaf16ba6","original_commit_id":"38492de702968556397f16dd2716e78edaf16ba6","user":{"login":"DmitryChitalov","id":35995629,"node_id":"MDQ6VXNlcjM1OTk1NjI5","avatar_url":"https://avatars3.githubusercontent.com/u/35995629?v=4","gravatar_id":"","url":"https://api.github.com/users/DmitryChitalov","html_url":"https://github.com/DmitryChitalov","followers_url":"https://api.github.com/users/DmitryChitalov/followers","following_url":"https://api.github.com/users/DmitryChitalov/following{/other_user}","gists_url":"https://api.github.com/users/DmitryChitalov/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryChitalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryChitalov/subscriptions","organizations_url":"https://api.github.com/users/DmitryChitalov/orgs","repos_url":"https://api.github.com/users/DmitryChitalov/repos","events_url":"https://api.github.com/users/DmitryChitalov/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryChitalov/received_events","type":"User","site_admin":false},"body":"так решить можно и решение конечно верное, но опять же...массивы пока использовать нельзя","created_at":"2019-03-09T07:50:44Z","updated_at":"2019-03-09T07:50:45Z","html_url":"https://github.com/Emar-Kar/algo_and_structures_python/pull/1#discussion_r263990482","pull_request_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/pulls/comments/263990482"},"html":{"href":"https://github.com/Emar-Kar/algo_and_structures_python/pull/1#discussion_r263990482"},"pull_request":{"href":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/pulls/1","id":259454026,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU5NDU0MDI2","html_url":"https://github.com/Emar-Kar/algo_and_structures_python/pull/1","diff_url":"https://github.com/Emar-Kar/algo_and_structures_python/pull/1.diff","patch_url":"https://github.com/Emar-Kar/algo_and_structures_python/pull/1.patch","issue_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/issues/1","number":1,"state":"open","locked":false,"title":"Выполнение ДЗ 1 урока","user":{"login":"Emar-Kar","id":46078689,"node_id":"MDQ6VXNlcjQ2MDc4Njg5","avatar_url":"https://avatars2.githubusercontent.com/u/46078689?v=4","gravatar_id":"","url":"https://api.github.com/users/Emar-Kar","html_url":"https://github.com/Emar-Kar","followers_url":"https://api.github.com/users/Emar-Kar/followers","following_url":"https://api.github.com/users/Emar-Kar/following{/other_user}","gists_url":"https://api.github.com/users/Emar-Kar/gists{/gist_id}","starred_url":"https://api.github.com/users/Emar-Kar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emar-Kar/subscriptions","organizations_url":"https://api.github.com/users/Emar-Kar/orgs","repos_url":"https://api.github.com/users/Emar-Kar/repos","events_url":"https://api.github.com/users/Emar-Kar/events{/privacy}","received_events_url":"https://api.github.com/users/Emar-Kar/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-03-08T11:58:32Z","updated_at":"2019-03-09T07:50:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f76347ed8fc14df124e4881a48c09501a687ee4c","assignee":{"login":"Emar-Kar","id":46078689,"node_id":"MDQ6VXNlcjQ2MDc4Njg5","avatar_url":"https://avatars2.githubusercontent.com/u/46078689?v=4","gravatar_id":"","url":"https://api.github.com/users/Emar-Kar","html_url":"https://github.com/Emar-Kar","followers_url":"https://api.github.com/users/Emar-Kar/followers","following_url":"https://api.github.com/users/Emar-Kar/following{/other_user}","gists_url":"https://api.github.com/users/Emar-Kar/gists{/gist_id}","starred_url":"https://api.github.com/users/Emar-Kar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emar-Kar/subscriptions","organizations_url":"https://api.github.com/users/Emar-Kar/orgs","repos_url":"https://api.github.com/users/Emar-Kar/repos","events_url":"https://api.github.com/users/Emar-Kar/events{/privacy}","received_events_url":"https://api.github.com/users/Emar-Kar/received_events","type":"User","site_admin":false},"assignees":[{"login":"Emar-Kar","id":46078689,"node_id":"MDQ6VXNlcjQ2MDc4Njg5","avatar_url":"https://avatars2.githubusercontent.com/u/46078689?v=4","gravatar_id":"","url":"https://api.github.com/users/Emar-Kar","html_url":"https://github.com/Emar-Kar","followers_url":"https://api.github.com/users/Emar-Kar/followers","following_url":"https://api.github.com/users/Emar-Kar/following{/other_user}","gists_url":"https://api.github.com/users/Emar-Kar/gists{/gist_id}","starred_url":"https://api.github.com/users/Emar-Kar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emar-Kar/subscriptions","organizations_url":"https://api.github.com/users/Emar-Kar/orgs","repos_url":"https://api.github.com/users/Emar-Kar/repos","events_url":"https://api.github.com/users/Emar-Kar/events{/privacy}","received_events_url":"https://api.github.com/users/Emar-Kar/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/issues/1/comments","statuses_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/statuses/38492de702968556397f16dd2716e78edaf16ba6","head":{"label":"Emar-Kar:lesson01","ref":"lesson01","sha":"38492de702968556397f16dd2716e78edaf16ba6","user":{"login":"Emar-Kar","id":46078689,"node_id":"MDQ6VXNlcjQ2MDc4Njg5","avatar_url":"https://avatars2.githubusercontent.com/u/46078689?v=4","gravatar_id":"","url":"https://api.github.com/users/Emar-Kar","html_url":"https://github.com/Emar-Kar","followers_url":"https://api.github.com/users/Emar-Kar/followers","following_url":"https://api.github.com/users/Emar-Kar/following{/other_user}","gists_url":"https://api.github.com/users/Emar-Kar/gists{/gist_id}","starred_url":"https://api.github.com/users/Emar-Kar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emar-Kar/subscriptions","organizations_url":"https://api.github.com/users/Emar-Kar/orgs","repos_url":"https://api.github.com/users/Emar-Kar/repos","events_url":"https://api.github.com/users/Emar-Kar/events{/privacy}","received_events_url":"https://api.github.com/users/Emar-Kar/received_events","type":"User","site_admin":false},"repo":{"id":174343374,"node_id":"MDEwOlJlcG9zaXRvcnkxNzQzNDMzNzQ=","name":"algo_and_structures_python","full_name":"Emar-Kar/algo_and_structures_python","private":false,"owner":{"login":"Emar-Kar","id":46078689,"node_id":"MDQ6VXNlcjQ2MDc4Njg5","avatar_url":"https://avatars2.githubusercontent.com/u/46078689?v=4","gravatar_id":"","url":"https://api.github.com/users/Emar-Kar","html_url":"https://github.com/Emar-Kar","followers_url":"https://api.github.com/users/Emar-Kar/followers","following_url":"https://api.github.com/users/Emar-Kar/following{/other_user}","gists_url":"https://api.github.com/users/Emar-Kar/gists{/gist_id}","starred_url":"https://api.github.com/users/Emar-Kar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emar-Kar/subscriptions","organizations_url":"https://api.github.com/users/Emar-Kar/orgs","repos_url":"https://api.github.com/users/Emar-Kar/repos","events_url":"https://api.github.com/users/Emar-Kar/events{/privacy}","received_events_url":"https://api.github.com/users/Emar-Kar/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Emar-Kar/algo_and_structures_python","description":null,"fork":true,"url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python","forks_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/forks","keys_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/teams","hooks_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/hooks","issue_events_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/issues/events{/number}","events_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/events","assignees_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/assignees{/user}","branches_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/branches{/branch}","tags_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/tags","blobs_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/git/refs{/sha}","trees_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/statuses/{sha}","languages_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/languages","stargazers_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/stargazers","contributors_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/contributors","subscribers_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/subscribers","subscription_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/subscription","commits_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/commits{/sha}","git_commits_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/git/commits{/sha}","comments_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/comments{/number}","issue_comment_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/issues/comments{/number}","contents_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/contents/{+path}","compare_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/merges","archive_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/downloads","issues_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/issues{/number}","pulls_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/pulls{/number}","milestones_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/milestones{/number}","notifications_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/labels{/name}","releases_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/releases{/id}","deployments_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/deployments","created_at":"2019-03-07T12:51:23Z","updated_at":"2019-03-07T12:51:25Z","pushed_at":"2019-03-08T12:07:57Z","git_url":"git://github.com/Emar-Kar/algo_and_structures_python.git","ssh_url":"git@github.com:Emar-Kar/algo_and_structures_python.git","clone_url":"https://github.com/Emar-Kar/algo_and_structures_python.git","svn_url":"https://github.com/Emar-Kar/algo_and_structures_python","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"Python","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Emar-Kar:master","ref":"master","sha":"067e3f1b72e890b2fc0af2c95e4a69cef3c9f9cd","user":{"login":"Emar-Kar","id":46078689,"node_id":"MDQ6VXNlcjQ2MDc4Njg5","avatar_url":"https://avatars2.githubusercontent.com/u/46078689?v=4","gravatar_id":"","url":"https://api.github.com/users/Emar-Kar","html_url":"https://github.com/Emar-Kar","followers_url":"https://api.github.com/users/Emar-Kar/followers","following_url":"https://api.github.com/users/Emar-Kar/following{/other_user}","gists_url":"https://api.github.com/users/Emar-Kar/gists{/gist_id}","starred_url":"https://api.github.com/users/Emar-Kar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emar-Kar/subscriptions","organizations_url":"https://api.github.com/users/Emar-Kar/orgs","repos_url":"https://api.github.com/users/Emar-Kar/repos","events_url":"https://api.github.com/users/Emar-Kar/events{/privacy}","received_events_url":"https://api.github.com/users/Emar-Kar/received_events","type":"User","site_admin":false},"repo":{"id":174343374,"node_id":"MDEwOlJlcG9zaXRvcnkxNzQzNDMzNzQ=","name":"algo_and_structures_python","full_name":"Emar-Kar/algo_and_structures_python","private":false,"owner":{"login":"Emar-Kar","id":46078689,"node_id":"MDQ6VXNlcjQ2MDc4Njg5","avatar_url":"https://avatars2.githubusercontent.com/u/46078689?v=4","gravatar_id":"","url":"https://api.github.com/users/Emar-Kar","html_url":"https://github.com/Emar-Kar","followers_url":"https://api.github.com/users/Emar-Kar/followers","following_url":"https://api.github.com/users/Emar-Kar/following{/other_user}","gists_url":"https://api.github.com/users/Emar-Kar/gists{/gist_id}","starred_url":"https://api.github.com/users/Emar-Kar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emar-Kar/subscriptions","organizations_url":"https://api.github.com/users/Emar-Kar/orgs","repos_url":"https://api.github.com/users/Emar-Kar/repos","events_url":"https://api.github.com/users/Emar-Kar/events{/privacy}","received_events_url":"https://api.github.com/users/Emar-Kar/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Emar-Kar/algo_and_structures_python","description":null,"fork":true,"url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python","forks_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/forks","keys_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/teams","hooks_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/hooks","issue_events_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/issues/events{/number}","events_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/events","assignees_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/assignees{/user}","branches_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/branches{/branch}","tags_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/tags","blobs_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/git/refs{/sha}","trees_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/statuses/{sha}","languages_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/languages","stargazers_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/stargazers","contributors_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/contributors","subscribers_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/subscribers","subscription_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/subscription","commits_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/commits{/sha}","git_commits_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/git/commits{/sha}","comments_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/comments{/number}","issue_comment_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/issues/comments{/number}","contents_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/contents/{+path}","compare_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/merges","archive_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/downloads","issues_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/issues{/number}","pulls_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/pulls{/number}","milestones_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/milestones{/number}","notifications_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/labels{/name}","releases_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/releases{/id}","deployments_url":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/deployments","created_at":"2019-03-07T12:51:23Z","updated_at":"2019-03-07T12:51:25Z","pushed_at":"2019-03-08T12:07:57Z","git_url":"git://github.com/Emar-Kar/algo_and_structures_python.git","ssh_url":"git@github.com:Emar-Kar/algo_and_structures_python.git","clone_url":"https://github.com/Emar-Kar/algo_and_structures_python.git","svn_url":"https://github.com/Emar-Kar/algo_and_structures_python","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"Python","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/pulls/1"},"html":{"href":"https://github.com/Emar-Kar/algo_and_structures_python/pull/1"},"issue":{"href":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/issues/1"},"comments":{"href":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Emar-Kar/algo_and_structures_python/statuses/38492de702968556397f16dd2716e78edaf16ba6"}},"author_association":"OWNER"}}
{"actor":{"display_login":"DmitryChitalov"}}