{"action":"created","comment":{"url":"https://api.github.com/repos/Gitcha-Beginners/Python/pulls/comments/93242284","pull_request_review_id":13764375,"id":93242284,"diff_hunk":"@@ -0,0 +1,39 @@\n+class VendingMachine:\n+\n+    def __init__(self):\n+        self.drinks = {\n+            \"포카리\": 800,\n+            \"토레타\": 1200,\n+            \"코카콜라\": 800,\n+            \"웰치스\": 1500,\n+            \"2프로\": 800,\n+            \"비락식혜\": 600,\n+            \"데자와\": 700,\n+            \"게토레이\": 800,\n+        }\n+\n+    def start(self):\n+        finish = 'doing'\n+        while finish != 'exit':\n+            money = int(input(\"금액을 입력해 주세요 : \"))\n+            self.show_drinks()\n+            choice = input(\"음료를 입력해 주세요 : \")\n+            cnt = int(input(\"개수를 입력해 주세요\"))\n+            if self.drinks[choice]*int(cnt) > int(money):\n+                print(\"현재금액 {}원\".format(money))\n+                print('금액이 {}원 부족합니다'.format(self.drinks[choice]*cnt - money))\n+                if input('금액추가: go or 종료: exit : ') == 'go':\n+                    money += int(input('추가할 금액을 입력해 주십시오'))\n+                else:\n+                    break\n+\n+            print(\"{}가 나왔습니다\".format(choice))\n+            money -= self.drinks[choice]*int(cnt)\n+            print(\"계속 하시겠습니까? \")\n+            finish = input(\"계속하기 : yes 종료 : exit\")\n+\n+    def show_drinks(self):","path":"vendingMachine.py","position":34,"original_position":35,"commit_id":"f19393d7d65840d138066cfdff3cf941698dd7f7","original_commit_id":"f19393d7d65840d138066cfdff3cf941698dd7f7","user":{"login":"wonjerry","id":22409377,"avatar_url":"https://avatars.githubusercontent.com/u/22409377?v=3","gravatar_id":"","url":"https://api.github.com/users/wonjerry","html_url":"https://github.com/wonjerry","followers_url":"https://api.github.com/users/wonjerry/followers","following_url":"https://api.github.com/users/wonjerry/following{/other_user}","gists_url":"https://api.github.com/users/wonjerry/gists{/gist_id}","starred_url":"https://api.github.com/users/wonjerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonjerry/subscriptions","organizations_url":"https://api.github.com/users/wonjerry/orgs","repos_url":"https://api.github.com/users/wonjerry/repos","events_url":"https://api.github.com/users/wonjerry/events{/privacy}","received_events_url":"https://api.github.com/users/wonjerry/received_events","type":"User","site_admin":false},"body":"음료수 목록을 출력시켜주는 함수입니다","created_at":"2016-12-20T14:04:41Z","updated_at":"2016-12-20T14:04:41Z","html_url":"https://github.com/Gitcha-Beginners/Python/pull/1#discussion_r93242284","pull_request_url":"https://api.github.com/repos/Gitcha-Beginners/Python/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Gitcha-Beginners/Python/pulls/comments/93242284"},"html":{"href":"https://github.com/Gitcha-Beginners/Python/pull/1#discussion_r93242284"},"pull_request":{"href":"https://api.github.com/repos/Gitcha-Beginners/Python/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Gitcha-Beginners/Python/pulls/1","id":98753235,"html_url":"https://github.com/Gitcha-Beginners/Python/pull/1","diff_url":"https://github.com/Gitcha-Beginners/Python/pull/1.diff","patch_url":"https://github.com/Gitcha-Beginners/Python/pull/1.patch","issue_url":"https://api.github.com/repos/Gitcha-Beginners/Python/issues/1","number":1,"state":"closed","locked":false,"title":"first Vending Machine","user":{"login":"wonjerry","id":22409377,"avatar_url":"https://avatars.githubusercontent.com/u/22409377?v=3","gravatar_id":"","url":"https://api.github.com/users/wonjerry","html_url":"https://github.com/wonjerry","followers_url":"https://api.github.com/users/wonjerry/followers","following_url":"https://api.github.com/users/wonjerry/following{/other_user}","gists_url":"https://api.github.com/users/wonjerry/gists{/gist_id}","starred_url":"https://api.github.com/users/wonjerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonjerry/subscriptions","organizations_url":"https://api.github.com/users/wonjerry/orgs","repos_url":"https://api.github.com/users/wonjerry/repos","events_url":"https://api.github.com/users/wonjerry/events{/privacy}","received_events_url":"https://api.github.com/users/wonjerry/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-20T13:58:34Z","updated_at":"2016-12-20T14:04:41Z","closed_at":"2016-12-20T14:03:13Z","merged_at":"2016-12-20T14:03:13Z","merge_commit_sha":"85d30ccd84cee7abac472feb144b4497659698be","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Gitcha-Beginners/Python/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Gitcha-Beginners/Python/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Gitcha-Beginners/Python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Gitcha-Beginners/Python/issues/1/comments","statuses_url":"https://api.github.com/repos/Gitcha-Beginners/Python/statuses/f19393d7d65840d138066cfdff3cf941698dd7f7","head":{"label":"wonjerry:master","ref":"master","sha":"f19393d7d65840d138066cfdff3cf941698dd7f7","user":{"login":"wonjerry","id":22409377,"avatar_url":"https://avatars.githubusercontent.com/u/22409377?v=3","gravatar_id":"","url":"https://api.github.com/users/wonjerry","html_url":"https://github.com/wonjerry","followers_url":"https://api.github.com/users/wonjerry/followers","following_url":"https://api.github.com/users/wonjerry/following{/other_user}","gists_url":"https://api.github.com/users/wonjerry/gists{/gist_id}","starred_url":"https://api.github.com/users/wonjerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonjerry/subscriptions","organizations_url":"https://api.github.com/users/wonjerry/orgs","repos_url":"https://api.github.com/users/wonjerry/repos","events_url":"https://api.github.com/users/wonjerry/events{/privacy}","received_events_url":"https://api.github.com/users/wonjerry/received_events","type":"User","site_admin":false},"repo":{"id":76855852,"name":"Python","full_name":"wonjerry/Python","owner":{"login":"wonjerry","id":22409377,"avatar_url":"https://avatars.githubusercontent.com/u/22409377?v=3","gravatar_id":"","url":"https://api.github.com/users/wonjerry","html_url":"https://github.com/wonjerry","followers_url":"https://api.github.com/users/wonjerry/followers","following_url":"https://api.github.com/users/wonjerry/following{/other_user}","gists_url":"https://api.github.com/users/wonjerry/gists{/gist_id}","starred_url":"https://api.github.com/users/wonjerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonjerry/subscriptions","organizations_url":"https://api.github.com/users/wonjerry/orgs","repos_url":"https://api.github.com/users/wonjerry/repos","events_url":"https://api.github.com/users/wonjerry/events{/privacy}","received_events_url":"https://api.github.com/users/wonjerry/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wonjerry/Python","description":"a simple repo for getting experience about python scripts","fork":true,"url":"https://api.github.com/repos/wonjerry/Python","forks_url":"https://api.github.com/repos/wonjerry/Python/forks","keys_url":"https://api.github.com/repos/wonjerry/Python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wonjerry/Python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wonjerry/Python/teams","hooks_url":"https://api.github.com/repos/wonjerry/Python/hooks","issue_events_url":"https://api.github.com/repos/wonjerry/Python/issues/events{/number}","events_url":"https://api.github.com/repos/wonjerry/Python/events","assignees_url":"https://api.github.com/repos/wonjerry/Python/assignees{/user}","branches_url":"https://api.github.com/repos/wonjerry/Python/branches{/branch}","tags_url":"https://api.github.com/repos/wonjerry/Python/tags","blobs_url":"https://api.github.com/repos/wonjerry/Python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wonjerry/Python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wonjerry/Python/git/refs{/sha}","trees_url":"https://api.github.com/repos/wonjerry/Python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wonjerry/Python/statuses/{sha}","languages_url":"https://api.github.com/repos/wonjerry/Python/languages","stargazers_url":"https://api.github.com/repos/wonjerry/Python/stargazers","contributors_url":"https://api.github.com/repos/wonjerry/Python/contributors","subscribers_url":"https://api.github.com/repos/wonjerry/Python/subscribers","subscription_url":"https://api.github.com/repos/wonjerry/Python/subscription","commits_url":"https://api.github.com/repos/wonjerry/Python/commits{/sha}","git_commits_url":"https://api.github.com/repos/wonjerry/Python/git/commits{/sha}","comments_url":"https://api.github.com/repos/wonjerry/Python/comments{/number}","issue_comment_url":"https://api.github.com/repos/wonjerry/Python/issues/comments{/number}","contents_url":"https://api.github.com/repos/wonjerry/Python/contents/{+path}","compare_url":"https://api.github.com/repos/wonjerry/Python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wonjerry/Python/merges","archive_url":"https://api.github.com/repos/wonjerry/Python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wonjerry/Python/downloads","issues_url":"https://api.github.com/repos/wonjerry/Python/issues{/number}","pulls_url":"https://api.github.com/repos/wonjerry/Python/pulls{/number}","milestones_url":"https://api.github.com/repos/wonjerry/Python/milestones{/number}","notifications_url":"https://api.github.com/repos/wonjerry/Python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wonjerry/Python/labels{/name}","releases_url":"https://api.github.com/repos/wonjerry/Python/releases{/id}","deployments_url":"https://api.github.com/repos/wonjerry/Python/deployments","created_at":"2016-12-19T11:20:19Z","updated_at":"2016-12-20T13:51:52Z","pushed_at":"2016-12-20T13:51:51Z","git_url":"git://github.com/wonjerry/Python.git","ssh_url":"git@github.com:wonjerry/Python.git","clone_url":"https://github.com/wonjerry/Python.git","svn_url":"https://github.com/wonjerry/Python","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Gitcha-Beginners:master","ref":"master","sha":"a5aba258a7aca979cf6d51cfcbf5f0619c558778","user":{"login":"Gitcha-Beginners","id":23404460,"avatar_url":"https://avatars.githubusercontent.com/u/23404460?v=3","gravatar_id":"","url":"https://api.github.com/users/Gitcha-Beginners","html_url":"https://github.com/Gitcha-Beginners","followers_url":"https://api.github.com/users/Gitcha-Beginners/followers","following_url":"https://api.github.com/users/Gitcha-Beginners/following{/other_user}","gists_url":"https://api.github.com/users/Gitcha-Beginners/gists{/gist_id}","starred_url":"https://api.github.com/users/Gitcha-Beginners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gitcha-Beginners/subscriptions","organizations_url":"https://api.github.com/users/Gitcha-Beginners/orgs","repos_url":"https://api.github.com/users/Gitcha-Beginners/repos","events_url":"https://api.github.com/users/Gitcha-Beginners/events{/privacy}","received_events_url":"https://api.github.com/users/Gitcha-Beginners/received_events","type":"Organization","site_admin":false},"repo":{"id":76855584,"name":"Python","full_name":"Gitcha-Beginners/Python","owner":{"login":"Gitcha-Beginners","id":23404460,"avatar_url":"https://avatars.githubusercontent.com/u/23404460?v=3","gravatar_id":"","url":"https://api.github.com/users/Gitcha-Beginners","html_url":"https://github.com/Gitcha-Beginners","followers_url":"https://api.github.com/users/Gitcha-Beginners/followers","following_url":"https://api.github.com/users/Gitcha-Beginners/following{/other_user}","gists_url":"https://api.github.com/users/Gitcha-Beginners/gists{/gist_id}","starred_url":"https://api.github.com/users/Gitcha-Beginners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gitcha-Beginners/subscriptions","organizations_url":"https://api.github.com/users/Gitcha-Beginners/orgs","repos_url":"https://api.github.com/users/Gitcha-Beginners/repos","events_url":"https://api.github.com/users/Gitcha-Beginners/events{/privacy}","received_events_url":"https://api.github.com/users/Gitcha-Beginners/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Gitcha-Beginners/Python","description":"a simple repo for getting experience about python scripts","fork":false,"url":"https://api.github.com/repos/Gitcha-Beginners/Python","forks_url":"https://api.github.com/repos/Gitcha-Beginners/Python/forks","keys_url":"https://api.github.com/repos/Gitcha-Beginners/Python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gitcha-Beginners/Python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gitcha-Beginners/Python/teams","hooks_url":"https://api.github.com/repos/Gitcha-Beginners/Python/hooks","issue_events_url":"https://api.github.com/repos/Gitcha-Beginners/Python/issues/events{/number}","events_url":"https://api.github.com/repos/Gitcha-Beginners/Python/events","assignees_url":"https://api.github.com/repos/Gitcha-Beginners/Python/assignees{/user}","branches_url":"https://api.github.com/repos/Gitcha-Beginners/Python/branches{/branch}","tags_url":"https://api.github.com/repos/Gitcha-Beginners/Python/tags","blobs_url":"https://api.github.com/repos/Gitcha-Beginners/Python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gitcha-Beginners/Python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gitcha-Beginners/Python/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gitcha-Beginners/Python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gitcha-Beginners/Python/statuses/{sha}","languages_url":"https://api.github.com/repos/Gitcha-Beginners/Python/languages","stargazers_url":"https://api.github.com/repos/Gitcha-Beginners/Python/stargazers","contributors_url":"https://api.github.com/repos/Gitcha-Beginners/Python/contributors","subscribers_url":"https://api.github.com/repos/Gitcha-Beginners/Python/subscribers","subscription_url":"https://api.github.com/repos/Gitcha-Beginners/Python/subscription","commits_url":"https://api.github.com/repos/Gitcha-Beginners/Python/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gitcha-Beginners/Python/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gitcha-Beginners/Python/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gitcha-Beginners/Python/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gitcha-Beginners/Python/contents/{+path}","compare_url":"https://api.github.com/repos/Gitcha-Beginners/Python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gitcha-Beginners/Python/merges","archive_url":"https://api.github.com/repos/Gitcha-Beginners/Python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gitcha-Beginners/Python/downloads","issues_url":"https://api.github.com/repos/Gitcha-Beginners/Python/issues{/number}","pulls_url":"https://api.github.com/repos/Gitcha-Beginners/Python/pulls{/number}","milestones_url":"https://api.github.com/repos/Gitcha-Beginners/Python/milestones{/number}","notifications_url":"https://api.github.com/repos/Gitcha-Beginners/Python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gitcha-Beginners/Python/labels{/name}","releases_url":"https://api.github.com/repos/Gitcha-Beginners/Python/releases{/id}","deployments_url":"https://api.github.com/repos/Gitcha-Beginners/Python/deployments","created_at":"2016-12-19T11:16:30Z","updated_at":"2016-12-20T14:03:14Z","pushed_at":"2016-12-20T14:03:13Z","git_url":"git://github.com/Gitcha-Beginners/Python.git","ssh_url":"git@github.com:Gitcha-Beginners/Python.git","clone_url":"https://github.com/Gitcha-Beginners/Python.git","svn_url":"https://github.com/Gitcha-Beginners/Python","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Gitcha-Beginners/Python/pulls/1"},"html":{"href":"https://github.com/Gitcha-Beginners/Python/pull/1"},"issue":{"href":"https://api.github.com/repos/Gitcha-Beginners/Python/issues/1"},"comments":{"href":"https://api.github.com/repos/Gitcha-Beginners/Python/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Gitcha-Beginners/Python/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Gitcha-Beginners/Python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Gitcha-Beginners/Python/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Gitcha-Beginners/Python/statuses/f19393d7d65840d138066cfdff3cf941698dd7f7"}}}}
{"actor":{"display_login":"wonjerry"}}