{"action":"created","comment":{"url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/pulls/comments/229639653","pull_request_review_id":170180962,"id":229639653,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTYzOTY1Mw==","diff_hunk":"@@ -0,0 +1,15 @@\n+\n+a = int(input(\"Пожалуйста, введите натуральное число\"))\n+c = str()\n+\n+#Немного модифицируем цикл из предыдущего задания\n+#Раскладываем число на цифры начиная с конца и конкатенируем обратно\n+while a // 10 >= 1:\n+    b = a % 10\n+    c = c + str(b)","path":"Homework2/2-3.py","position":9,"original_position":9,"commit_id":"c6453924aee27bcb7a846ea5ac4d6b4eb6cfdb29","original_commit_id":"c6453924aee27bcb7a846ea5ac4d6b4eb6cfdb29","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":"Конкатенация строк затратна по памяти. Впрочем, вы и так знаете, что строка - неизменяемый объект. Значит при развороте числа из 10 цифр вы создадите 10 новых строковых объектов )))","created_at":"2018-10-31T10:35:02Z","updated_at":"2018-10-31T10:52:08Z","html_url":"https://github.com/KpunToH/Python_algorithm_101/pull/1#discussion_r229639653","pull_request_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/KpunToH/Python_algorithm_101/pulls/comments/229639653"},"html":{"href":"https://github.com/KpunToH/Python_algorithm_101/pull/1#discussion_r229639653"},"pull_request":{"href":"https://api.github.com/repos/KpunToH/Python_algorithm_101/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/pulls/1","id":226813664,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2ODEzNjY0","html_url":"https://github.com/KpunToH/Python_algorithm_101/pull/1","diff_url":"https://github.com/KpunToH/Python_algorithm_101/pull/1.diff","patch_url":"https://github.com/KpunToH/Python_algorithm_101/pull/1.patch","issue_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/issues/1","number":1,"state":"open","locked":false,"title":"Homework_2","user":{"login":"KpunToH","id":43645210,"node_id":"MDQ6VXNlcjQzNjQ1MjEw","avatar_url":"https://avatars1.githubusercontent.com/u/43645210?v=4","gravatar_id":"","url":"https://api.github.com/users/KpunToH","html_url":"https://github.com/KpunToH","followers_url":"https://api.github.com/users/KpunToH/followers","following_url":"https://api.github.com/users/KpunToH/following{/other_user}","gists_url":"https://api.github.com/users/KpunToH/gists{/gist_id}","starred_url":"https://api.github.com/users/KpunToH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KpunToH/subscriptions","organizations_url":"https://api.github.com/users/KpunToH/orgs","repos_url":"https://api.github.com/users/KpunToH/repos","events_url":"https://api.github.com/users/KpunToH/events{/privacy}","received_events_url":"https://api.github.com/users/KpunToH/received_events","type":"User","site_admin":false},"body":"6 заданий сделано","created_at":"2018-10-30T07:13:01Z","updated_at":"2018-10-31T10:52:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f46a140e6e668606a021afa7103660bead428dda","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/pulls/1/commits","review_comments_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/pulls/1/comments","review_comment_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/issues/1/comments","statuses_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/statuses/c6453924aee27bcb7a846ea5ac4d6b4eb6cfdb29","head":{"label":"KpunToH:Homework2","ref":"Homework2","sha":"c6453924aee27bcb7a846ea5ac4d6b4eb6cfdb29","user":{"login":"KpunToH","id":43645210,"node_id":"MDQ6VXNlcjQzNjQ1MjEw","avatar_url":"https://avatars1.githubusercontent.com/u/43645210?v=4","gravatar_id":"","url":"https://api.github.com/users/KpunToH","html_url":"https://github.com/KpunToH","followers_url":"https://api.github.com/users/KpunToH/followers","following_url":"https://api.github.com/users/KpunToH/following{/other_user}","gists_url":"https://api.github.com/users/KpunToH/gists{/gist_id}","starred_url":"https://api.github.com/users/KpunToH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KpunToH/subscriptions","organizations_url":"https://api.github.com/users/KpunToH/orgs","repos_url":"https://api.github.com/users/KpunToH/repos","events_url":"https://api.github.com/users/KpunToH/events{/privacy}","received_events_url":"https://api.github.com/users/KpunToH/received_events","type":"User","site_admin":false},"repo":{"id":154801307,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ4MDEzMDc=","name":"Python_algorithm_101","full_name":"KpunToH/Python_algorithm_101","private":false,"owner":{"login":"KpunToH","id":43645210,"node_id":"MDQ6VXNlcjQzNjQ1MjEw","avatar_url":"https://avatars1.githubusercontent.com/u/43645210?v=4","gravatar_id":"","url":"https://api.github.com/users/KpunToH","html_url":"https://github.com/KpunToH","followers_url":"https://api.github.com/users/KpunToH/followers","following_url":"https://api.github.com/users/KpunToH/following{/other_user}","gists_url":"https://api.github.com/users/KpunToH/gists{/gist_id}","starred_url":"https://api.github.com/users/KpunToH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KpunToH/subscriptions","organizations_url":"https://api.github.com/users/KpunToH/orgs","repos_url":"https://api.github.com/users/KpunToH/repos","events_url":"https://api.github.com/users/KpunToH/events{/privacy}","received_events_url":"https://api.github.com/users/KpunToH/received_events","type":"User","site_admin":false},"html_url":"https://github.com/KpunToH/Python_algorithm_101","description":null,"fork":false,"url":"https://api.github.com/repos/KpunToH/Python_algorithm_101","forks_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/forks","keys_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/teams","hooks_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/hooks","issue_events_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/issues/events{/number}","events_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/events","assignees_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/assignees{/user}","branches_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/branches{/branch}","tags_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/tags","blobs_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/git/refs{/sha}","trees_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/statuses/{sha}","languages_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/languages","stargazers_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/stargazers","contributors_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/contributors","subscribers_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/subscribers","subscription_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/subscription","commits_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/commits{/sha}","git_commits_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/git/commits{/sha}","comments_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/comments{/number}","issue_comment_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/issues/comments{/number}","contents_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/contents/{+path}","compare_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/merges","archive_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/downloads","issues_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/issues{/number}","pulls_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/pulls{/number}","milestones_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/milestones{/number}","notifications_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/labels{/name}","releases_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/releases{/id}","deployments_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/deployments","created_at":"2018-10-26T08:21:38Z","updated_at":"2018-10-26T10:32:56Z","pushed_at":"2018-10-30T11:07:59Z","git_url":"git://github.com/KpunToH/Python_algorithm_101.git","ssh_url":"git@github.com:KpunToH/Python_algorithm_101.git","clone_url":"https://github.com/KpunToH/Python_algorithm_101.git","svn_url":"https://github.com/KpunToH/Python_algorithm_101","homepage":null,"size":22,"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":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"KpunToH:master","ref":"master","sha":"ae5bc178a7fdbff0c5c0d22ee7263d7e339ab166","user":{"login":"KpunToH","id":43645210,"node_id":"MDQ6VXNlcjQzNjQ1MjEw","avatar_url":"https://avatars1.githubusercontent.com/u/43645210?v=4","gravatar_id":"","url":"https://api.github.com/users/KpunToH","html_url":"https://github.com/KpunToH","followers_url":"https://api.github.com/users/KpunToH/followers","following_url":"https://api.github.com/users/KpunToH/following{/other_user}","gists_url":"https://api.github.com/users/KpunToH/gists{/gist_id}","starred_url":"https://api.github.com/users/KpunToH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KpunToH/subscriptions","organizations_url":"https://api.github.com/users/KpunToH/orgs","repos_url":"https://api.github.com/users/KpunToH/repos","events_url":"https://api.github.com/users/KpunToH/events{/privacy}","received_events_url":"https://api.github.com/users/KpunToH/received_events","type":"User","site_admin":false},"repo":{"id":154801307,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ4MDEzMDc=","name":"Python_algorithm_101","full_name":"KpunToH/Python_algorithm_101","private":false,"owner":{"login":"KpunToH","id":43645210,"node_id":"MDQ6VXNlcjQzNjQ1MjEw","avatar_url":"https://avatars1.githubusercontent.com/u/43645210?v=4","gravatar_id":"","url":"https://api.github.com/users/KpunToH","html_url":"https://github.com/KpunToH","followers_url":"https://api.github.com/users/KpunToH/followers","following_url":"https://api.github.com/users/KpunToH/following{/other_user}","gists_url":"https://api.github.com/users/KpunToH/gists{/gist_id}","starred_url":"https://api.github.com/users/KpunToH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KpunToH/subscriptions","organizations_url":"https://api.github.com/users/KpunToH/orgs","repos_url":"https://api.github.com/users/KpunToH/repos","events_url":"https://api.github.com/users/KpunToH/events{/privacy}","received_events_url":"https://api.github.com/users/KpunToH/received_events","type":"User","site_admin":false},"html_url":"https://github.com/KpunToH/Python_algorithm_101","description":null,"fork":false,"url":"https://api.github.com/repos/KpunToH/Python_algorithm_101","forks_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/forks","keys_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/teams","hooks_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/hooks","issue_events_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/issues/events{/number}","events_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/events","assignees_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/assignees{/user}","branches_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/branches{/branch}","tags_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/tags","blobs_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/git/refs{/sha}","trees_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/statuses/{sha}","languages_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/languages","stargazers_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/stargazers","contributors_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/contributors","subscribers_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/subscribers","subscription_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/subscription","commits_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/commits{/sha}","git_commits_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/git/commits{/sha}","comments_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/comments{/number}","issue_comment_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/issues/comments{/number}","contents_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/contents/{+path}","compare_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/merges","archive_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/downloads","issues_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/issues{/number}","pulls_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/pulls{/number}","milestones_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/milestones{/number}","notifications_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/labels{/name}","releases_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/releases{/id}","deployments_url":"https://api.github.com/repos/KpunToH/Python_algorithm_101/deployments","created_at":"2018-10-26T08:21:38Z","updated_at":"2018-10-26T10:32:56Z","pushed_at":"2018-10-30T11:07:59Z","git_url":"git://github.com/KpunToH/Python_algorithm_101.git","ssh_url":"git@github.com:KpunToH/Python_algorithm_101.git","clone_url":"https://github.com/KpunToH/Python_algorithm_101.git","svn_url":"https://github.com/KpunToH/Python_algorithm_101","homepage":null,"size":22,"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":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KpunToH/Python_algorithm_101/pulls/1"},"html":{"href":"https://github.com/KpunToH/Python_algorithm_101/pull/1"},"issue":{"href":"https://api.github.com/repos/KpunToH/Python_algorithm_101/issues/1"},"comments":{"href":"https://api.github.com/repos/KpunToH/Python_algorithm_101/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/KpunToH/Python_algorithm_101/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/KpunToH/Python_algorithm_101/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KpunToH/Python_algorithm_101/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/KpunToH/Python_algorithm_101/statuses/c6453924aee27bcb7a846ea5ac4d6b4eb6cfdb29"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Dzhoker1"}}