{"action":"closed","number":86,"pull_request":{"url":"https://api.github.com/repos/the-vampiire/hacktoberithms/pulls/86","id":222506571,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNTA2NTcx","html_url":"https://github.com/the-vampiire/hacktoberithms/pull/86","diff_url":"https://github.com/the-vampiire/hacktoberithms/pull/86.diff","patch_url":"https://github.com/the-vampiire/hacktoberithms/pull/86.patch","issue_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/issues/86","number":86,"state":"closed","locked":false,"title":"#8 solution","user":{"login":"dsargento","id":10728155,"node_id":"MDQ6VXNlcjEwNzI4MTU1","avatar_url":"https://avatars2.githubusercontent.com/u/10728155?v=4","gravatar_id":"","url":"https://api.github.com/users/dsargento","html_url":"https://github.com/dsargento","followers_url":"https://api.github.com/users/dsargento/followers","following_url":"https://api.github.com/users/dsargento/following{/other_user}","gists_url":"https://api.github.com/users/dsargento/gists{/gist_id}","starred_url":"https://api.github.com/users/dsargento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsargento/subscriptions","organizations_url":"https://api.github.com/users/dsargento/orgs","repos_url":"https://api.github.com/users/dsargento/repos","events_url":"https://api.github.com/users/dsargento/events{/privacy}","received_events_url":"https://api.github.com/users/dsargento/received_events","type":"User","site_admin":false},"body":"The function checks that the cast to int is correct using a try/except block, after splitting the string.\r\nSimply use the function with the test string in the .py file, and execute using the cli (i used python 3.6)","created_at":"2018-10-12T15:35:57Z","updated_at":"2018-10-15T06:18:45Z","closed_at":"2018-10-15T06:18:45Z","merged_at":"2018-10-15T06:18:45Z","merge_commit_sha":"42df591ad6520a00e3c1fa6e6a68af60c82878c8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/pulls/86/commits","review_comments_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/pulls/86/comments","review_comment_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/issues/86/comments","statuses_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/statuses/42df591ad6520a00e3c1fa6e6a68af60c82878c8","head":{"label":"dsargento:8-solution","ref":"8-solution","sha":"42df591ad6520a00e3c1fa6e6a68af60c82878c8","user":{"login":"dsargento","id":10728155,"node_id":"MDQ6VXNlcjEwNzI4MTU1","avatar_url":"https://avatars2.githubusercontent.com/u/10728155?v=4","gravatar_id":"","url":"https://api.github.com/users/dsargento","html_url":"https://github.com/dsargento","followers_url":"https://api.github.com/users/dsargento/followers","following_url":"https://api.github.com/users/dsargento/following{/other_user}","gists_url":"https://api.github.com/users/dsargento/gists{/gist_id}","starred_url":"https://api.github.com/users/dsargento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsargento/subscriptions","organizations_url":"https://api.github.com/users/dsargento/orgs","repos_url":"https://api.github.com/users/dsargento/repos","events_url":"https://api.github.com/users/dsargento/events{/privacy}","received_events_url":"https://api.github.com/users/dsargento/received_events","type":"User","site_admin":false},"repo":{"id":152767527,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI3Njc1Mjc=","name":"hacktoberithms","full_name":"dsargento/hacktoberithms","private":false,"owner":{"login":"dsargento","id":10728155,"node_id":"MDQ6VXNlcjEwNzI4MTU1","avatar_url":"https://avatars2.githubusercontent.com/u/10728155?v=4","gravatar_id":"","url":"https://api.github.com/users/dsargento","html_url":"https://github.com/dsargento","followers_url":"https://api.github.com/users/dsargento/followers","following_url":"https://api.github.com/users/dsargento/following{/other_user}","gists_url":"https://api.github.com/users/dsargento/gists{/gist_id}","starred_url":"https://api.github.com/users/dsargento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsargento/subscriptions","organizations_url":"https://api.github.com/users/dsargento/orgs","repos_url":"https://api.github.com/users/dsargento/repos","events_url":"https://api.github.com/users/dsargento/events{/privacy}","received_events_url":"https://api.github.com/users/dsargento/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dsargento/hacktoberithms","description":"Python solutions only! algorithms to practice python, git, and contribute to an open source repo for hacktoberfest!","fork":true,"url":"https://api.github.com/repos/dsargento/hacktoberithms","forks_url":"https://api.github.com/repos/dsargento/hacktoberithms/forks","keys_url":"https://api.github.com/repos/dsargento/hacktoberithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsargento/hacktoberithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsargento/hacktoberithms/teams","hooks_url":"https://api.github.com/repos/dsargento/hacktoberithms/hooks","issue_events_url":"https://api.github.com/repos/dsargento/hacktoberithms/issues/events{/number}","events_url":"https://api.github.com/repos/dsargento/hacktoberithms/events","assignees_url":"https://api.github.com/repos/dsargento/hacktoberithms/assignees{/user}","branches_url":"https://api.github.com/repos/dsargento/hacktoberithms/branches{/branch}","tags_url":"https://api.github.com/repos/dsargento/hacktoberithms/tags","blobs_url":"https://api.github.com/repos/dsargento/hacktoberithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsargento/hacktoberithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsargento/hacktoberithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsargento/hacktoberithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsargento/hacktoberithms/statuses/{sha}","languages_url":"https://api.github.com/repos/dsargento/hacktoberithms/languages","stargazers_url":"https://api.github.com/repos/dsargento/hacktoberithms/stargazers","contributors_url":"https://api.github.com/repos/dsargento/hacktoberithms/contributors","subscribers_url":"https://api.github.com/repos/dsargento/hacktoberithms/subscribers","subscription_url":"https://api.github.com/repos/dsargento/hacktoberithms/subscription","commits_url":"https://api.github.com/repos/dsargento/hacktoberithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsargento/hacktoberithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsargento/hacktoberithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsargento/hacktoberithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsargento/hacktoberithms/contents/{+path}","compare_url":"https://api.github.com/repos/dsargento/hacktoberithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsargento/hacktoberithms/merges","archive_url":"https://api.github.com/repos/dsargento/hacktoberithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsargento/hacktoberithms/downloads","issues_url":"https://api.github.com/repos/dsargento/hacktoberithms/issues{/number}","pulls_url":"https://api.github.com/repos/dsargento/hacktoberithms/pulls{/number}","milestones_url":"https://api.github.com/repos/dsargento/hacktoberithms/milestones{/number}","notifications_url":"https://api.github.com/repos/dsargento/hacktoberithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsargento/hacktoberithms/labels{/name}","releases_url":"https://api.github.com/repos/dsargento/hacktoberithms/releases{/id}","deployments_url":"https://api.github.com/repos/dsargento/hacktoberithms/deployments","created_at":"2018-10-12T15:02:17Z","updated_at":"2018-10-12T15:02:19Z","pushed_at":"2018-10-12T16:03:39Z","git_url":"git://github.com/dsargento/hacktoberithms.git","ssh_url":"git@github.com:dsargento/hacktoberithms.git","clone_url":"https://github.com/dsargento/hacktoberithms.git","svn_url":"https://github.com/dsargento/hacktoberithms","homepage":"","size":93,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"the-vampiire:master","ref":"master","sha":"0a01dce16c4b8acde6d0d2762a0e95a1f6acf9bc","user":{"login":"the-vampiire","id":25523682,"node_id":"MDQ6VXNlcjI1NTIzNjgy","avatar_url":"https://avatars3.githubusercontent.com/u/25523682?v=4","gravatar_id":"","url":"https://api.github.com/users/the-vampiire","html_url":"https://github.com/the-vampiire","followers_url":"https://api.github.com/users/the-vampiire/followers","following_url":"https://api.github.com/users/the-vampiire/following{/other_user}","gists_url":"https://api.github.com/users/the-vampiire/gists{/gist_id}","starred_url":"https://api.github.com/users/the-vampiire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-vampiire/subscriptions","organizations_url":"https://api.github.com/users/the-vampiire/orgs","repos_url":"https://api.github.com/users/the-vampiire/repos","events_url":"https://api.github.com/users/the-vampiire/events{/privacy}","received_events_url":"https://api.github.com/users/the-vampiire/received_events","type":"User","site_admin":false},"repo":{"id":151494586,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE0OTQ1ODY=","name":"hacktoberithms","full_name":"the-vampiire/hacktoberithms","private":false,"owner":{"login":"the-vampiire","id":25523682,"node_id":"MDQ6VXNlcjI1NTIzNjgy","avatar_url":"https://avatars3.githubusercontent.com/u/25523682?v=4","gravatar_id":"","url":"https://api.github.com/users/the-vampiire","html_url":"https://github.com/the-vampiire","followers_url":"https://api.github.com/users/the-vampiire/followers","following_url":"https://api.github.com/users/the-vampiire/following{/other_user}","gists_url":"https://api.github.com/users/the-vampiire/gists{/gist_id}","starred_url":"https://api.github.com/users/the-vampiire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-vampiire/subscriptions","organizations_url":"https://api.github.com/users/the-vampiire/orgs","repos_url":"https://api.github.com/users/the-vampiire/repos","events_url":"https://api.github.com/users/the-vampiire/events{/privacy}","received_events_url":"https://api.github.com/users/the-vampiire/received_events","type":"User","site_admin":false},"html_url":"https://github.com/the-vampiire/hacktoberithms","description":"Python solutions only! algorithms to practice python, git, and contribute to an open source repo for hacktoberfest!","fork":false,"url":"https://api.github.com/repos/the-vampiire/hacktoberithms","forks_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/forks","keys_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/teams","hooks_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/hooks","issue_events_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/issues/events{/number}","events_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/events","assignees_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/assignees{/user}","branches_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/branches{/branch}","tags_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/tags","blobs_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/statuses/{sha}","languages_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/languages","stargazers_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/stargazers","contributors_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/contributors","subscribers_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/subscribers","subscription_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/subscription","commits_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/contents/{+path}","compare_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/merges","archive_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/downloads","issues_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/issues{/number}","pulls_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/pulls{/number}","milestones_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/milestones{/number}","notifications_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/labels{/name}","releases_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/releases{/id}","deployments_url":"https://api.github.com/repos/the-vampiire/hacktoberithms/deployments","created_at":"2018-10-03T23:39:33Z","updated_at":"2018-10-15T06:18:20Z","pushed_at":"2018-10-15T06:18:43Z","git_url":"git://github.com/the-vampiire/hacktoberithms.git","ssh_url":"git@github.com:the-vampiire/hacktoberithms.git","clone_url":"https://github.com/the-vampiire/hacktoberithms.git","svn_url":"https://github.com/the-vampiire/hacktoberithms","homepage":"","size":91,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":47,"open_issues":21,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/the-vampiire/hacktoberithms/pulls/86"},"html":{"href":"https://github.com/the-vampiire/hacktoberithms/pull/86"},"issue":{"href":"https://api.github.com/repos/the-vampiire/hacktoberithms/issues/86"},"comments":{"href":"https://api.github.com/repos/the-vampiire/hacktoberithms/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/the-vampiire/hacktoberithms/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/the-vampiire/hacktoberithms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/the-vampiire/hacktoberithms/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/the-vampiire/hacktoberithms/statuses/42df591ad6520a00e3c1fa6e6a68af60c82878c8"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"the-vampiire","id":25523682,"node_id":"MDQ6VXNlcjI1NTIzNjgy","avatar_url":"https://avatars3.githubusercontent.com/u/25523682?v=4","gravatar_id":"","url":"https://api.github.com/users/the-vampiire","html_url":"https://github.com/the-vampiire","followers_url":"https://api.github.com/users/the-vampiire/followers","following_url":"https://api.github.com/users/the-vampiire/following{/other_user}","gists_url":"https://api.github.com/users/the-vampiire/gists{/gist_id}","starred_url":"https://api.github.com/users/the-vampiire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-vampiire/subscriptions","organizations_url":"https://api.github.com/users/the-vampiire/orgs","repos_url":"https://api.github.com/users/the-vampiire/repos","events_url":"https://api.github.com/users/the-vampiire/events{/privacy}","received_events_url":"https://api.github.com/users/the-vampiire/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":20,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"the-vampiire"}}