{"action":"created","comment":{"url":"https://api.github.com/repos/helenefialko/python_basic_course/pulls/comments/183213098","pull_request_review_id":114176480,"id":183213098,"diff_hunk":"@@ -0,0 +1,147 @@\n+import random\n+import csv\n+import re\n+\n+# creation of alphabet list\n+def alph_list_creation():\n+    alph_list = []\n+    for i in range(ord('a'), ord('z')+1):\n+        i = chr(i)\n+        alph_list.append(i)\n+    return alph_list\n+\n+# creation of names list\n+def name_list_creation(alph_list):\n+    name_item = []\n+    for i in range(100):\n+        r_num_char = random.randint(3,8)\n+        for j in range(r_num_char):\n+            any_char = random.choice(alph_list)\n+            name_item.append(any_char)\n+        name_item.append('/')\n+\n+    name_list = (''.join(name_item)).split('/')\n+    name_list.pop()\n+    return name_list\n+\n+# creation of phone list\n+def phone_list_creation(alph_list):\n+    phone_item = []\n+    for i in range(100):\n+        chance = random.randint(1, 50)\n+        if chance == 9:\n+            ran_symbol = random.choice(['[', '-', ']', ' ', random.choice(alph_list)])\n+            ran_temp = '+38' + str(ran_symbol)\n+            phone_item.append(str(ran_temp))\n+            for k in range(8):\n+                r_num = random.randint(0, 9)\n+                phone_item.append(str(r_num))\n+        else:\n+            phone_item.append('+380')\n+            for k in range(8):\n+                r_num = random.randint(0,9)\n+                phone_item.append(str(r_num))\n+        phone_item.append('/')\n+\n+    phone_list = (''.join(phone_item)).split('/')\n+    phone_list.pop()\n+    return phone_list\n+\n+# creation of exp date\n+def exp_list_creation():\n+    exp_item = []\n+    for i in range(100):\n+        r_num = random.randint(1,12)\n+        if r_num < 10:\n+            r_num = '0'+ str(r_num)\n+        r_date = random.randint(19,30)\n+        exp_item.append(str(r_num))\n+        exp_item.append('/')\n+        exp_item.append(str(r_date))\n+        exp_item.append('//')\n+\n+    exp_list = (''.join(exp_item)).split('//')","path":"l8_collections/final_project/utils.py","position":63,"original_position":63,"commit_id":"b8720a9bab8fd9704019686da24d5d5fc705da8e","original_commit_id":"b8720a9bab8fd9704019686da24d5d5fc705da8e","user":{"login":"voronov007","id":2511018,"avatar_url":"https://avatars3.githubusercontent.com/u/2511018?v=4","gravatar_id":"","url":"https://api.github.com/users/voronov007","html_url":"https://github.com/voronov007","followers_url":"https://api.github.com/users/voronov007/followers","following_url":"https://api.github.com/users/voronov007/following{/other_user}","gists_url":"https://api.github.com/users/voronov007/gists{/gist_id}","starred_url":"https://api.github.com/users/voronov007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voronov007/subscriptions","organizations_url":"https://api.github.com/users/voronov007/orgs","repos_url":"https://api.github.com/users/voronov007/repos","events_url":"https://api.github.com/users/voronov007/events{/privacy}","received_events_url":"https://api.github.com/users/voronov007/received_events","type":"User","site_admin":false},"body":"уже 3-й раз встерчается. можно было бы и сплиттер добавить как параметр. Иногда это / и иногда //","created_at":"2018-04-21T16:05:12Z","updated_at":"2018-04-21T16:08:59Z","html_url":"https://github.com/helenefialko/python_basic_course/pull/9#discussion_r183213098","pull_request_url":"https://api.github.com/repos/helenefialko/python_basic_course/pulls/9","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/helenefialko/python_basic_course/pulls/comments/183213098"},"html":{"href":"https://github.com/helenefialko/python_basic_course/pull/9#discussion_r183213098"},"pull_request":{"href":"https://api.github.com/repos/helenefialko/python_basic_course/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/helenefialko/python_basic_course/pulls/9","id":181654342,"html_url":"https://github.com/helenefialko/python_basic_course/pull/9","diff_url":"https://github.com/helenefialko/python_basic_course/pull/9.diff","patch_url":"https://github.com/helenefialko/python_basic_course/pull/9.patch","issue_url":"https://api.github.com/repos/helenefialko/python_basic_course/issues/9","number":9,"state":"open","locked":false,"title":"Final project and practical part - lesson 8","user":{"login":"helenefialko","id":25435867,"avatar_url":"https://avatars0.githubusercontent.com/u/25435867?v=4","gravatar_id":"","url":"https://api.github.com/users/helenefialko","html_url":"https://github.com/helenefialko","followers_url":"https://api.github.com/users/helenefialko/followers","following_url":"https://api.github.com/users/helenefialko/following{/other_user}","gists_url":"https://api.github.com/users/helenefialko/gists{/gist_id}","starred_url":"https://api.github.com/users/helenefialko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helenefialko/subscriptions","organizations_url":"https://api.github.com/users/helenefialko/orgs","repos_url":"https://api.github.com/users/helenefialko/repos","events_url":"https://api.github.com/users/helenefialko/events{/privacy}","received_events_url":"https://api.github.com/users/helenefialko/received_events","type":"User","site_admin":false},"body":"Немного с реквестами напутала. В папке l8_collections есть файлы по практике - прошу их тоже поревьювать. И отдельно есть внутренняя папка final_project  - где файлы по последнему заданию/проекту. ","created_at":"2018-04-14T16:01:38Z","updated_at":"2018-04-21T16:08:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c340e21ad36b0a4fbb8f98558ca5d760ec962d1a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/helenefialko/python_basic_course/pulls/9/commits","review_comments_url":"https://api.github.com/repos/helenefialko/python_basic_course/pulls/9/comments","review_comment_url":"https://api.github.com/repos/helenefialko/python_basic_course/pulls/comments{/number}","comments_url":"https://api.github.com/repos/helenefialko/python_basic_course/issues/9/comments","statuses_url":"https://api.github.com/repos/helenefialko/python_basic_course/statuses/b8720a9bab8fd9704019686da24d5d5fc705da8e","head":{"label":"helenefialko:hw8","ref":"hw8","sha":"b8720a9bab8fd9704019686da24d5d5fc705da8e","user":{"login":"helenefialko","id":25435867,"avatar_url":"https://avatars0.githubusercontent.com/u/25435867?v=4","gravatar_id":"","url":"https://api.github.com/users/helenefialko","html_url":"https://github.com/helenefialko","followers_url":"https://api.github.com/users/helenefialko/followers","following_url":"https://api.github.com/users/helenefialko/following{/other_user}","gists_url":"https://api.github.com/users/helenefialko/gists{/gist_id}","starred_url":"https://api.github.com/users/helenefialko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helenefialko/subscriptions","organizations_url":"https://api.github.com/users/helenefialko/orgs","repos_url":"https://api.github.com/users/helenefialko/repos","events_url":"https://api.github.com/users/helenefialko/events{/privacy}","received_events_url":"https://api.github.com/users/helenefialko/received_events","type":"User","site_admin":false},"repo":{"id":126576452,"name":"python_basic_course","full_name":"helenefialko/python_basic_course","owner":{"login":"helenefialko","id":25435867,"avatar_url":"https://avatars0.githubusercontent.com/u/25435867?v=4","gravatar_id":"","url":"https://api.github.com/users/helenefialko","html_url":"https://github.com/helenefialko","followers_url":"https://api.github.com/users/helenefialko/followers","following_url":"https://api.github.com/users/helenefialko/following{/other_user}","gists_url":"https://api.github.com/users/helenefialko/gists{/gist_id}","starred_url":"https://api.github.com/users/helenefialko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helenefialko/subscriptions","organizations_url":"https://api.github.com/users/helenefialko/orgs","repos_url":"https://api.github.com/users/helenefialko/repos","events_url":"https://api.github.com/users/helenefialko/events{/privacy}","received_events_url":"https://api.github.com/users/helenefialko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/helenefialko/python_basic_course","description":null,"fork":false,"url":"https://api.github.com/repos/helenefialko/python_basic_course","forks_url":"https://api.github.com/repos/helenefialko/python_basic_course/forks","keys_url":"https://api.github.com/repos/helenefialko/python_basic_course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helenefialko/python_basic_course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helenefialko/python_basic_course/teams","hooks_url":"https://api.github.com/repos/helenefialko/python_basic_course/hooks","issue_events_url":"https://api.github.com/repos/helenefialko/python_basic_course/issues/events{/number}","events_url":"https://api.github.com/repos/helenefialko/python_basic_course/events","assignees_url":"https://api.github.com/repos/helenefialko/python_basic_course/assignees{/user}","branches_url":"https://api.github.com/repos/helenefialko/python_basic_course/branches{/branch}","tags_url":"https://api.github.com/repos/helenefialko/python_basic_course/tags","blobs_url":"https://api.github.com/repos/helenefialko/python_basic_course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helenefialko/python_basic_course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helenefialko/python_basic_course/git/refs{/sha}","trees_url":"https://api.github.com/repos/helenefialko/python_basic_course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helenefialko/python_basic_course/statuses/{sha}","languages_url":"https://api.github.com/repos/helenefialko/python_basic_course/languages","stargazers_url":"https://api.github.com/repos/helenefialko/python_basic_course/stargazers","contributors_url":"https://api.github.com/repos/helenefialko/python_basic_course/contributors","subscribers_url":"https://api.github.com/repos/helenefialko/python_basic_course/subscribers","subscription_url":"https://api.github.com/repos/helenefialko/python_basic_course/subscription","commits_url":"https://api.github.com/repos/helenefialko/python_basic_course/commits{/sha}","git_commits_url":"https://api.github.com/repos/helenefialko/python_basic_course/git/commits{/sha}","comments_url":"https://api.github.com/repos/helenefialko/python_basic_course/comments{/number}","issue_comment_url":"https://api.github.com/repos/helenefialko/python_basic_course/issues/comments{/number}","contents_url":"https://api.github.com/repos/helenefialko/python_basic_course/contents/{+path}","compare_url":"https://api.github.com/repos/helenefialko/python_basic_course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helenefialko/python_basic_course/merges","archive_url":"https://api.github.com/repos/helenefialko/python_basic_course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helenefialko/python_basic_course/downloads","issues_url":"https://api.github.com/repos/helenefialko/python_basic_course/issues{/number}","pulls_url":"https://api.github.com/repos/helenefialko/python_basic_course/pulls{/number}","milestones_url":"https://api.github.com/repos/helenefialko/python_basic_course/milestones{/number}","notifications_url":"https://api.github.com/repos/helenefialko/python_basic_course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helenefialko/python_basic_course/labels{/name}","releases_url":"https://api.github.com/repos/helenefialko/python_basic_course/releases{/id}","deployments_url":"https://api.github.com/repos/helenefialko/python_basic_course/deployments","created_at":"2018-03-24T07:34:36Z","updated_at":"2018-04-05T08:26:11Z","pushed_at":"2018-04-20T15:06:12Z","git_url":"git://github.com/helenefialko/python_basic_course.git","ssh_url":"git@github.com:helenefialko/python_basic_course.git","clone_url":"https://github.com/helenefialko/python_basic_course.git","svn_url":"https://github.com/helenefialko/python_basic_course","homepage":null,"size":27,"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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"helenefialko:master","ref":"master","sha":"79df8a60958908344111578658c045119d23fd8e","user":{"login":"helenefialko","id":25435867,"avatar_url":"https://avatars0.githubusercontent.com/u/25435867?v=4","gravatar_id":"","url":"https://api.github.com/users/helenefialko","html_url":"https://github.com/helenefialko","followers_url":"https://api.github.com/users/helenefialko/followers","following_url":"https://api.github.com/users/helenefialko/following{/other_user}","gists_url":"https://api.github.com/users/helenefialko/gists{/gist_id}","starred_url":"https://api.github.com/users/helenefialko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helenefialko/subscriptions","organizations_url":"https://api.github.com/users/helenefialko/orgs","repos_url":"https://api.github.com/users/helenefialko/repos","events_url":"https://api.github.com/users/helenefialko/events{/privacy}","received_events_url":"https://api.github.com/users/helenefialko/received_events","type":"User","site_admin":false},"repo":{"id":126576452,"name":"python_basic_course","full_name":"helenefialko/python_basic_course","owner":{"login":"helenefialko","id":25435867,"avatar_url":"https://avatars0.githubusercontent.com/u/25435867?v=4","gravatar_id":"","url":"https://api.github.com/users/helenefialko","html_url":"https://github.com/helenefialko","followers_url":"https://api.github.com/users/helenefialko/followers","following_url":"https://api.github.com/users/helenefialko/following{/other_user}","gists_url":"https://api.github.com/users/helenefialko/gists{/gist_id}","starred_url":"https://api.github.com/users/helenefialko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helenefialko/subscriptions","organizations_url":"https://api.github.com/users/helenefialko/orgs","repos_url":"https://api.github.com/users/helenefialko/repos","events_url":"https://api.github.com/users/helenefialko/events{/privacy}","received_events_url":"https://api.github.com/users/helenefialko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/helenefialko/python_basic_course","description":null,"fork":false,"url":"https://api.github.com/repos/helenefialko/python_basic_course","forks_url":"https://api.github.com/repos/helenefialko/python_basic_course/forks","keys_url":"https://api.github.com/repos/helenefialko/python_basic_course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helenefialko/python_basic_course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helenefialko/python_basic_course/teams","hooks_url":"https://api.github.com/repos/helenefialko/python_basic_course/hooks","issue_events_url":"https://api.github.com/repos/helenefialko/python_basic_course/issues/events{/number}","events_url":"https://api.github.com/repos/helenefialko/python_basic_course/events","assignees_url":"https://api.github.com/repos/helenefialko/python_basic_course/assignees{/user}","branches_url":"https://api.github.com/repos/helenefialko/python_basic_course/branches{/branch}","tags_url":"https://api.github.com/repos/helenefialko/python_basic_course/tags","blobs_url":"https://api.github.com/repos/helenefialko/python_basic_course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helenefialko/python_basic_course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helenefialko/python_basic_course/git/refs{/sha}","trees_url":"https://api.github.com/repos/helenefialko/python_basic_course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helenefialko/python_basic_course/statuses/{sha}","languages_url":"https://api.github.com/repos/helenefialko/python_basic_course/languages","stargazers_url":"https://api.github.com/repos/helenefialko/python_basic_course/stargazers","contributors_url":"https://api.github.com/repos/helenefialko/python_basic_course/contributors","subscribers_url":"https://api.github.com/repos/helenefialko/python_basic_course/subscribers","subscription_url":"https://api.github.com/repos/helenefialko/python_basic_course/subscription","commits_url":"https://api.github.com/repos/helenefialko/python_basic_course/commits{/sha}","git_commits_url":"https://api.github.com/repos/helenefialko/python_basic_course/git/commits{/sha}","comments_url":"https://api.github.com/repos/helenefialko/python_basic_course/comments{/number}","issue_comment_url":"https://api.github.com/repos/helenefialko/python_basic_course/issues/comments{/number}","contents_url":"https://api.github.com/repos/helenefialko/python_basic_course/contents/{+path}","compare_url":"https://api.github.com/repos/helenefialko/python_basic_course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helenefialko/python_basic_course/merges","archive_url":"https://api.github.com/repos/helenefialko/python_basic_course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helenefialko/python_basic_course/downloads","issues_url":"https://api.github.com/repos/helenefialko/python_basic_course/issues{/number}","pulls_url":"https://api.github.com/repos/helenefialko/python_basic_course/pulls{/number}","milestones_url":"https://api.github.com/repos/helenefialko/python_basic_course/milestones{/number}","notifications_url":"https://api.github.com/repos/helenefialko/python_basic_course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helenefialko/python_basic_course/labels{/name}","releases_url":"https://api.github.com/repos/helenefialko/python_basic_course/releases{/id}","deployments_url":"https://api.github.com/repos/helenefialko/python_basic_course/deployments","created_at":"2018-03-24T07:34:36Z","updated_at":"2018-04-05T08:26:11Z","pushed_at":"2018-04-20T15:06:12Z","git_url":"git://github.com/helenefialko/python_basic_course.git","ssh_url":"git@github.com:helenefialko/python_basic_course.git","clone_url":"https://github.com/helenefialko/python_basic_course.git","svn_url":"https://github.com/helenefialko/python_basic_course","homepage":null,"size":27,"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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/helenefialko/python_basic_course/pulls/9"},"html":{"href":"https://github.com/helenefialko/python_basic_course/pull/9"},"issue":{"href":"https://api.github.com/repos/helenefialko/python_basic_course/issues/9"},"comments":{"href":"https://api.github.com/repos/helenefialko/python_basic_course/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/helenefialko/python_basic_course/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/helenefialko/python_basic_course/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/helenefialko/python_basic_course/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/helenefialko/python_basic_course/statuses/b8720a9bab8fd9704019686da24d5d5fc705da8e"}},"author_association":"OWNER"}}
{"actor":{"display_login":"voronov007"}}