{"action":"created","comment":{"url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/pulls/comments/305618388","pull_request_review_id":264537392,"id":305618388,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwNTYxODM4OA==","diff_hunk":"@@ -0,0 +1,183 @@\n+'''Реализовать интерактивное меню с двумя опциями выбора:\n+а) добавление в справочник\n+б) вывод номера телефона по имени\n+в) вывод имени по номеру телефона\n+\n+Пример\n+Add to dict\n+Get telephone\n+Get name\n+    1\n+    John, +380953336667\n+    1\n+    Alan, +36674490\n+    2\n+    Alan\n+    +36674490\n+    3\n+    +380953336667\n+    John\n+Посчитать количество номеров телефонов в предыдущем примере, в которых есть 3\n+ или более одинаковых цифр подряд\n+Добавить возможность удаления человека из справочника\n+Добавить возможность редактирования номера - имени\n+с Использованием классов\n+'''\n+\n+\n+from tkinter import *\n+from tkinter import messagebox as mb\n+from tkinter import Tk, Frame, Menu\n+\n+\n+class PhoneBook:\n+    def __init__(self, name, number):\n+        ''' init variables '''","path":"lesson7.py","position":null,"original_position":35,"commit_id":"7fe171ec97f1d76b6cd83934722bcb1db363258b","original_commit_id":"76bb41c7bfebfebbb1a122c5dfcbac604ecc5933","user":{"login":"itea-artem","id":51487178,"node_id":"MDQ6VXNlcjUxNDg3MTc4","avatar_url":"https://avatars2.githubusercontent.com/u/51487178?v=4","gravatar_id":"","url":"https://api.github.com/users/itea-artem","html_url":"https://github.com/itea-artem","followers_url":"https://api.github.com/users/itea-artem/followers","following_url":"https://api.github.com/users/itea-artem/following{/other_user}","gists_url":"https://api.github.com/users/itea-artem/gists{/gist_id}","starred_url":"https://api.github.com/users/itea-artem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itea-artem/subscriptions","organizations_url":"https://api.github.com/users/itea-artem/orgs","repos_url":"https://api.github.com/users/itea-artem/repos","events_url":"https://api.github.com/users/itea-artem/events{/privacy}","received_events_url":"https://api.github.com/users/itea-artem/received_events","type":"User","site_admin":false},"body":"\"\"\"docstr\"\"\"","created_at":"2019-07-21T13:33:11Z","updated_at":"2019-07-21T13:33:11Z","html_url":"https://github.com/KrutkoAndrii/ITEA_Python_basics/pull/15#discussion_r305618388","pull_request_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/pulls/15","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/pulls/comments/305618388"},"html":{"href":"https://github.com/KrutkoAndrii/ITEA_Python_basics/pull/15#discussion_r305618388"},"pull_request":{"href":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/pulls/15"}},"in_reply_to_id":303201042},"pull_request":{"url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/pulls/15","id":295017697,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk1MDE3Njk3","html_url":"https://github.com/KrutkoAndrii/ITEA_Python_basics/pull/15","diff_url":"https://github.com/KrutkoAndrii/ITEA_Python_basics/pull/15.diff","patch_url":"https://github.com/KrutkoAndrii/ITEA_Python_basics/pull/15.patch","issue_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/issues/15","number":15,"state":"open","locked":false,"title":"Lesson7","user":{"login":"KrutkoAndrii","id":51419566,"node_id":"MDQ6VXNlcjUxNDE5NTY2","avatar_url":"https://avatars0.githubusercontent.com/u/51419566?v=4","gravatar_id":"","url":"https://api.github.com/users/KrutkoAndrii","html_url":"https://github.com/KrutkoAndrii","followers_url":"https://api.github.com/users/KrutkoAndrii/followers","following_url":"https://api.github.com/users/KrutkoAndrii/following{/other_user}","gists_url":"https://api.github.com/users/KrutkoAndrii/gists{/gist_id}","starred_url":"https://api.github.com/users/KrutkoAndrii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrutkoAndrii/subscriptions","organizations_url":"https://api.github.com/users/KrutkoAndrii/orgs","repos_url":"https://api.github.com/users/KrutkoAndrii/repos","events_url":"https://api.github.com/users/KrutkoAndrii/events{/privacy}","received_events_url":"https://api.github.com/users/KrutkoAndrii/received_events","type":"User","site_admin":false},"body":"Please check it. The project redesigned with class","created_at":"2019-07-06T06:00:00Z","updated_at":"2019-07-21T13:33:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b6728cc746d1b89361fd9e2d4b98f18ed0e98d1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/pulls/15/commits","review_comments_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/pulls/15/comments","review_comment_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/issues/15/comments","statuses_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/statuses/7fe171ec97f1d76b6cd83934722bcb1db363258b","head":{"label":"KrutkoAndrii:lesson7","ref":"lesson7","sha":"7fe171ec97f1d76b6cd83934722bcb1db363258b","user":{"login":"KrutkoAndrii","id":51419566,"node_id":"MDQ6VXNlcjUxNDE5NTY2","avatar_url":"https://avatars0.githubusercontent.com/u/51419566?v=4","gravatar_id":"","url":"https://api.github.com/users/KrutkoAndrii","html_url":"https://github.com/KrutkoAndrii","followers_url":"https://api.github.com/users/KrutkoAndrii/followers","following_url":"https://api.github.com/users/KrutkoAndrii/following{/other_user}","gists_url":"https://api.github.com/users/KrutkoAndrii/gists{/gist_id}","starred_url":"https://api.github.com/users/KrutkoAndrii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrutkoAndrii/subscriptions","organizations_url":"https://api.github.com/users/KrutkoAndrii/orgs","repos_url":"https://api.github.com/users/KrutkoAndrii/repos","events_url":"https://api.github.com/users/KrutkoAndrii/events{/privacy}","received_events_url":"https://api.github.com/users/KrutkoAndrii/received_events","type":"User","site_admin":false},"repo":{"id":191248802,"node_id":"MDEwOlJlcG9zaXRvcnkxOTEyNDg4MDI=","name":"ITEA_Python_basics","full_name":"KrutkoAndrii/ITEA_Python_basics","private":false,"owner":{"login":"KrutkoAndrii","id":51419566,"node_id":"MDQ6VXNlcjUxNDE5NTY2","avatar_url":"https://avatars0.githubusercontent.com/u/51419566?v=4","gravatar_id":"","url":"https://api.github.com/users/KrutkoAndrii","html_url":"https://github.com/KrutkoAndrii","followers_url":"https://api.github.com/users/KrutkoAndrii/followers","following_url":"https://api.github.com/users/KrutkoAndrii/following{/other_user}","gists_url":"https://api.github.com/users/KrutkoAndrii/gists{/gist_id}","starred_url":"https://api.github.com/users/KrutkoAndrii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrutkoAndrii/subscriptions","organizations_url":"https://api.github.com/users/KrutkoAndrii/orgs","repos_url":"https://api.github.com/users/KrutkoAndrii/repos","events_url":"https://api.github.com/users/KrutkoAndrii/events{/privacy}","received_events_url":"https://api.github.com/users/KrutkoAndrii/received_events","type":"User","site_admin":false},"html_url":"https://github.com/KrutkoAndrii/ITEA_Python_basics","description":null,"fork":false,"url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics","forks_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/forks","keys_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/teams","hooks_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/hooks","issue_events_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/issues/events{/number}","events_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/events","assignees_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/assignees{/user}","branches_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/branches{/branch}","tags_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/tags","blobs_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/git/refs{/sha}","trees_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/statuses/{sha}","languages_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/languages","stargazers_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/stargazers","contributors_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/contributors","subscribers_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/subscribers","subscription_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/subscription","commits_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/commits{/sha}","git_commits_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/git/commits{/sha}","comments_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/comments{/number}","issue_comment_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/issues/comments{/number}","contents_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/contents/{+path}","compare_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/merges","archive_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/downloads","issues_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/issues{/number}","pulls_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/pulls{/number}","milestones_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/milestones{/number}","notifications_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/labels{/name}","releases_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/releases{/id}","deployments_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/deployments","created_at":"2019-06-10T21:34:01Z","updated_at":"2019-06-23T19:27:20Z","pushed_at":"2019-07-15T12:17:14Z","git_url":"git://github.com/KrutkoAndrii/ITEA_Python_basics.git","ssh_url":"git@github.com:KrutkoAndrii/ITEA_Python_basics.git","clone_url":"https://github.com/KrutkoAndrii/ITEA_Python_basics.git","svn_url":"https://github.com/KrutkoAndrii/ITEA_Python_basics","homepage":null,"size":80,"stargazers_count":1,"watchers_count":1,"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,"disabled":false,"open_issues_count":7,"license":null,"forks":0,"open_issues":7,"watchers":1,"default_branch":"master"}},"base":{"label":"KrutkoAndrii:master","ref":"master","sha":"391afb7a958ae32e75cf46221cb246cf38c9f930","user":{"login":"KrutkoAndrii","id":51419566,"node_id":"MDQ6VXNlcjUxNDE5NTY2","avatar_url":"https://avatars0.githubusercontent.com/u/51419566?v=4","gravatar_id":"","url":"https://api.github.com/users/KrutkoAndrii","html_url":"https://github.com/KrutkoAndrii","followers_url":"https://api.github.com/users/KrutkoAndrii/followers","following_url":"https://api.github.com/users/KrutkoAndrii/following{/other_user}","gists_url":"https://api.github.com/users/KrutkoAndrii/gists{/gist_id}","starred_url":"https://api.github.com/users/KrutkoAndrii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrutkoAndrii/subscriptions","organizations_url":"https://api.github.com/users/KrutkoAndrii/orgs","repos_url":"https://api.github.com/users/KrutkoAndrii/repos","events_url":"https://api.github.com/users/KrutkoAndrii/events{/privacy}","received_events_url":"https://api.github.com/users/KrutkoAndrii/received_events","type":"User","site_admin":false},"repo":{"id":191248802,"node_id":"MDEwOlJlcG9zaXRvcnkxOTEyNDg4MDI=","name":"ITEA_Python_basics","full_name":"KrutkoAndrii/ITEA_Python_basics","private":false,"owner":{"login":"KrutkoAndrii","id":51419566,"node_id":"MDQ6VXNlcjUxNDE5NTY2","avatar_url":"https://avatars0.githubusercontent.com/u/51419566?v=4","gravatar_id":"","url":"https://api.github.com/users/KrutkoAndrii","html_url":"https://github.com/KrutkoAndrii","followers_url":"https://api.github.com/users/KrutkoAndrii/followers","following_url":"https://api.github.com/users/KrutkoAndrii/following{/other_user}","gists_url":"https://api.github.com/users/KrutkoAndrii/gists{/gist_id}","starred_url":"https://api.github.com/users/KrutkoAndrii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrutkoAndrii/subscriptions","organizations_url":"https://api.github.com/users/KrutkoAndrii/orgs","repos_url":"https://api.github.com/users/KrutkoAndrii/repos","events_url":"https://api.github.com/users/KrutkoAndrii/events{/privacy}","received_events_url":"https://api.github.com/users/KrutkoAndrii/received_events","type":"User","site_admin":false},"html_url":"https://github.com/KrutkoAndrii/ITEA_Python_basics","description":null,"fork":false,"url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics","forks_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/forks","keys_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/teams","hooks_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/hooks","issue_events_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/issues/events{/number}","events_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/events","assignees_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/assignees{/user}","branches_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/branches{/branch}","tags_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/tags","blobs_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/git/refs{/sha}","trees_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/statuses/{sha}","languages_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/languages","stargazers_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/stargazers","contributors_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/contributors","subscribers_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/subscribers","subscription_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/subscription","commits_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/commits{/sha}","git_commits_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/git/commits{/sha}","comments_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/comments{/number}","issue_comment_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/issues/comments{/number}","contents_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/contents/{+path}","compare_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/merges","archive_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/downloads","issues_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/issues{/number}","pulls_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/pulls{/number}","milestones_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/milestones{/number}","notifications_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/labels{/name}","releases_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/releases{/id}","deployments_url":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/deployments","created_at":"2019-06-10T21:34:01Z","updated_at":"2019-06-23T19:27:20Z","pushed_at":"2019-07-15T12:17:14Z","git_url":"git://github.com/KrutkoAndrii/ITEA_Python_basics.git","ssh_url":"git@github.com:KrutkoAndrii/ITEA_Python_basics.git","clone_url":"https://github.com/KrutkoAndrii/ITEA_Python_basics.git","svn_url":"https://github.com/KrutkoAndrii/ITEA_Python_basics","homepage":null,"size":80,"stargazers_count":1,"watchers_count":1,"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,"disabled":false,"open_issues_count":7,"license":null,"forks":0,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/pulls/15"},"html":{"href":"https://github.com/KrutkoAndrii/ITEA_Python_basics/pull/15"},"issue":{"href":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/issues/15"},"comments":{"href":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/KrutkoAndrii/ITEA_Python_basics/statuses/7fe171ec97f1d76b6cd83934722bcb1db363258b"}},"author_association":"OWNER"}}
{"actor":{"display_login":"itea-artem"}}