{"action":"created","comment":{"url":"https://api.github.com/repos/msusur/kodlama-pratikleri/pulls/comments/222700540","pull_request_review_id":161636231,"id":222700540,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjcwMDU0MA==","diff_hunk":"@@ -0,0 +1,30 @@\n+#!/usr/bin/env python\n+# -*- coding: utf-8 -*-\n+import math\n+from math import sqrt\n+\n+coordinate = [(3, 1), (3, 4), (4, 2)]\n+\n+def distances(coordinate):\n+    values = []\n+    parsing = []\n+    distance = []\n+    for i in range(len(coordinate)):\n+        parsing.append(\" \".join(str(x) for x in coordinate[i]))\n+        calculateValue = parsing[i].split(\" \")\n+        firstValue = math.pow(int(calculateValue[0]), 2)\n+        secondValue = math.pow(int(calculateValue[1]), 2)\n+        distance.append(sqrt(int(firstValue) + int(secondValue)))\n+    return distance\n+\n+def calculate():\n+    data = distances(coordinate)\n+    return data\n+\n+\n+def matchResult(coordinate):","path":"cozumler/en-yakin-noktalar/cozum.py","position":20,"original_position":25,"commit_id":"3b56f692f1f628343b2829a2d1223bc9b5d2f29a","original_commit_id":"2b43ff867bc5371d60de9e4d3ed969b97478da42","user":{"login":"BTaskaya","id":25110697,"node_id":"MDQ6VXNlcjI1MTEwNjk3","avatar_url":"https://avatars2.githubusercontent.com/u/25110697?v=4","gravatar_id":"","url":"https://api.github.com/users/BTaskaya","html_url":"https://github.com/BTaskaya","followers_url":"https://api.github.com/users/BTaskaya/followers","following_url":"https://api.github.com/users/BTaskaya/following{/other_user}","gists_url":"https://api.github.com/users/BTaskaya/gists{/gist_id}","starred_url":"https://api.github.com/users/BTaskaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BTaskaya/subscriptions","organizations_url":"https://api.github.com/users/BTaskaya/orgs","repos_url":"https://api.github.com/users/BTaskaya/repos","events_url":"https://api.github.com/users/BTaskaya/events{/privacy}","received_events_url":"https://api.github.com/users/BTaskaya/received_events","type":"User","site_admin":false},"body":"PEP8'e uyarsak güzel olabilir function ve variable isimlerinde\r\n\r\n(Function names should be lowercase, with words separated by underscores as necessary to improve readability.)\r\n","created_at":"2018-10-04T14:48:26Z","updated_at":"2018-10-04T14:52:50Z","html_url":"https://github.com/msusur/kodlama-pratikleri/pull/57#discussion_r222700540","pull_request_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/pulls/57","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/msusur/kodlama-pratikleri/pulls/comments/222700540"},"html":{"href":"https://github.com/msusur/kodlama-pratikleri/pull/57#discussion_r222700540"},"pull_request":{"href":"https://api.github.com/repos/msusur/kodlama-pratikleri/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/msusur/kodlama-pratikleri/pulls/57","id":220159103,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwMTU5MTAz","html_url":"https://github.com/msusur/kodlama-pratikleri/pull/57","diff_url":"https://github.com/msusur/kodlama-pratikleri/pull/57.diff","patch_url":"https://github.com/msusur/kodlama-pratikleri/pull/57.patch","issue_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/issues/57","number":57,"state":"open","locked":false,"title":"En yakın noktalar çözümü eklendi","user":{"login":"olucvolkan","id":13987389,"node_id":"MDQ6VXNlcjEzOTg3Mzg5","avatar_url":"https://avatars0.githubusercontent.com/u/13987389?v=4","gravatar_id":"","url":"https://api.github.com/users/olucvolkan","html_url":"https://github.com/olucvolkan","followers_url":"https://api.github.com/users/olucvolkan/followers","following_url":"https://api.github.com/users/olucvolkan/following{/other_user}","gists_url":"https://api.github.com/users/olucvolkan/gists{/gist_id}","starred_url":"https://api.github.com/users/olucvolkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olucvolkan/subscriptions","organizations_url":"https://api.github.com/users/olucvolkan/orgs","repos_url":"https://api.github.com/users/olucvolkan/repos","events_url":"https://api.github.com/users/olucvolkan/events{/privacy}","received_events_url":"https://api.github.com/users/olucvolkan/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-03T19:52:33Z","updated_at":"2018-10-04T14:52:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f02b5916535cbe22e7648455528b28197dd76bb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/pulls/57/commits","review_comments_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/pulls/57/comments","review_comment_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/pulls/comments{/number}","comments_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/issues/57/comments","statuses_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/statuses/3b56f692f1f628343b2829a2d1223bc9b5d2f29a","head":{"label":"olucvolkan:master","ref":"master","sha":"3b56f692f1f628343b2829a2d1223bc9b5d2f29a","user":{"login":"olucvolkan","id":13987389,"node_id":"MDQ6VXNlcjEzOTg3Mzg5","avatar_url":"https://avatars0.githubusercontent.com/u/13987389?v=4","gravatar_id":"","url":"https://api.github.com/users/olucvolkan","html_url":"https://github.com/olucvolkan","followers_url":"https://api.github.com/users/olucvolkan/followers","following_url":"https://api.github.com/users/olucvolkan/following{/other_user}","gists_url":"https://api.github.com/users/olucvolkan/gists{/gist_id}","starred_url":"https://api.github.com/users/olucvolkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olucvolkan/subscriptions","organizations_url":"https://api.github.com/users/olucvolkan/orgs","repos_url":"https://api.github.com/users/olucvolkan/repos","events_url":"https://api.github.com/users/olucvolkan/events{/privacy}","received_events_url":"https://api.github.com/users/olucvolkan/received_events","type":"User","site_admin":false},"repo":{"id":149978112,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk5NzgxMTI=","name":"kodlama-pratikleri","full_name":"olucvolkan/kodlama-pratikleri","private":false,"owner":{"login":"olucvolkan","id":13987389,"node_id":"MDQ6VXNlcjEzOTg3Mzg5","avatar_url":"https://avatars0.githubusercontent.com/u/13987389?v=4","gravatar_id":"","url":"https://api.github.com/users/olucvolkan","html_url":"https://github.com/olucvolkan","followers_url":"https://api.github.com/users/olucvolkan/followers","following_url":"https://api.github.com/users/olucvolkan/following{/other_user}","gists_url":"https://api.github.com/users/olucvolkan/gists{/gist_id}","starred_url":"https://api.github.com/users/olucvolkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olucvolkan/subscriptions","organizations_url":"https://api.github.com/users/olucvolkan/orgs","repos_url":"https://api.github.com/users/olucvolkan/repos","events_url":"https://api.github.com/users/olucvolkan/events{/privacy}","received_events_url":"https://api.github.com/users/olucvolkan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/olucvolkan/kodlama-pratikleri","description":"Bu projenin amacı yazılım geliştirmeyi öğrenmekte olan ya da işi Code Golf seviyesinde ele almak isteyenlere uğraşacak problemler çıkartmaktır.","fork":true,"url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri","forks_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/forks","keys_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/teams","hooks_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/hooks","issue_events_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/issues/events{/number}","events_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/events","assignees_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/assignees{/user}","branches_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/branches{/branch}","tags_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/tags","blobs_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/git/refs{/sha}","trees_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/statuses/{sha}","languages_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/languages","stargazers_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/stargazers","contributors_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/contributors","subscribers_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/subscribers","subscription_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/subscription","commits_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/commits{/sha}","git_commits_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/git/commits{/sha}","comments_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/comments{/number}","issue_comment_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/issues/comments{/number}","contents_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/contents/{+path}","compare_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/merges","archive_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/downloads","issues_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/issues{/number}","pulls_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/pulls{/number}","milestones_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/milestones{/number}","notifications_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/labels{/name}","releases_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/releases{/id}","deployments_url":"https://api.github.com/repos/olucvolkan/kodlama-pratikleri/deployments","created_at":"2018-09-23T11:29:29Z","updated_at":"2018-10-04T12:47:07Z","pushed_at":"2018-10-04T12:47:05Z","git_url":"git://github.com/olucvolkan/kodlama-pratikleri.git","ssh_url":"git@github.com:olucvolkan/kodlama-pratikleri.git","clone_url":"https://github.com/olucvolkan/kodlama-pratikleri.git","svn_url":"https://github.com/olucvolkan/kodlama-pratikleri","homepage":"","size":27,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"msusur:master","ref":"master","sha":"a8cf478c44b079b379e85db851c9b21a2904359e","user":{"login":"msusur","id":769839,"node_id":"MDQ6VXNlcjc2OTgzOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/769839?v=4","gravatar_id":"","url":"https://api.github.com/users/msusur","html_url":"https://github.com/msusur","followers_url":"https://api.github.com/users/msusur/followers","following_url":"https://api.github.com/users/msusur/following{/other_user}","gists_url":"https://api.github.com/users/msusur/gists{/gist_id}","starred_url":"https://api.github.com/users/msusur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msusur/subscriptions","organizations_url":"https://api.github.com/users/msusur/orgs","repos_url":"https://api.github.com/users/msusur/repos","events_url":"https://api.github.com/users/msusur/events{/privacy}","received_events_url":"https://api.github.com/users/msusur/received_events","type":"User","site_admin":false},"repo":{"id":149911399,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk5MTEzOTk=","name":"kodlama-pratikleri","full_name":"msusur/kodlama-pratikleri","private":false,"owner":{"login":"msusur","id":769839,"node_id":"MDQ6VXNlcjc2OTgzOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/769839?v=4","gravatar_id":"","url":"https://api.github.com/users/msusur","html_url":"https://github.com/msusur","followers_url":"https://api.github.com/users/msusur/followers","following_url":"https://api.github.com/users/msusur/following{/other_user}","gists_url":"https://api.github.com/users/msusur/gists{/gist_id}","starred_url":"https://api.github.com/users/msusur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msusur/subscriptions","organizations_url":"https://api.github.com/users/msusur/orgs","repos_url":"https://api.github.com/users/msusur/repos","events_url":"https://api.github.com/users/msusur/events{/privacy}","received_events_url":"https://api.github.com/users/msusur/received_events","type":"User","site_admin":false},"html_url":"https://github.com/msusur/kodlama-pratikleri","description":"Bu projenin amacı yazılım geliştirmeyi öğrenmekte olan ya da işi Code Golf seviyesinde ele almak isteyenlere uğraşacak problemler çıkartmaktır.","fork":false,"url":"https://api.github.com/repos/msusur/kodlama-pratikleri","forks_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/forks","keys_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/keys{/key_id}","collaborators_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/teams","hooks_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/hooks","issue_events_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/issues/events{/number}","events_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/events","assignees_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/assignees{/user}","branches_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/branches{/branch}","tags_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/tags","blobs_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/git/refs{/sha}","trees_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/git/trees{/sha}","statuses_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/statuses/{sha}","languages_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/languages","stargazers_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/stargazers","contributors_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/contributors","subscribers_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/subscribers","subscription_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/subscription","commits_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/commits{/sha}","git_commits_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/git/commits{/sha}","comments_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/comments{/number}","issue_comment_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/issues/comments{/number}","contents_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/contents/{+path}","compare_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/compare/{base}...{head}","merges_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/merges","archive_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/downloads","issues_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/issues{/number}","pulls_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/pulls{/number}","milestones_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/milestones{/number}","notifications_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/labels{/name}","releases_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/releases{/id}","deployments_url":"https://api.github.com/repos/msusur/kodlama-pratikleri/deployments","created_at":"2018-09-22T19:43:26Z","updated_at":"2018-10-04T12:49:03Z","pushed_at":"2018-10-04T12:49:01Z","git_url":"git://github.com/msusur/kodlama-pratikleri.git","ssh_url":"git@github.com:msusur/kodlama-pratikleri.git","clone_url":"https://github.com/msusur/kodlama-pratikleri.git","svn_url":"https://github.com/msusur/kodlama-pratikleri","homepage":"","size":95,"stargazers_count":66,"watchers_count":66,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":30,"open_issues":9,"watchers":66,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/msusur/kodlama-pratikleri/pulls/57"},"html":{"href":"https://github.com/msusur/kodlama-pratikleri/pull/57"},"issue":{"href":"https://api.github.com/repos/msusur/kodlama-pratikleri/issues/57"},"comments":{"href":"https://api.github.com/repos/msusur/kodlama-pratikleri/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/msusur/kodlama-pratikleri/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/msusur/kodlama-pratikleri/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/msusur/kodlama-pratikleri/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/msusur/kodlama-pratikleri/statuses/3b56f692f1f628343b2829a2d1223bc9b5d2f29a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"BTaskaya"}}