{"action":"closed","number":51,"pull_request":{"url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/pulls/51","id":63612108,"html_url":"https://github.com/FreddieV4/DailyProgrammerChallenges/pull/51","diff_url":"https://github.com/FreddieV4/DailyProgrammerChallenges/pull/51.diff","patch_url":"https://github.com/FreddieV4/DailyProgrammerChallenges/pull/51.patch","issue_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/issues/51","number":51,"state":"closed","locked":false,"title":"Update solution.py","user":{"login":"ntucker1","id":13527502,"avatar_url":"https://avatars.githubusercontent.com/u/13527502?v=3","gravatar_id":"","url":"https://api.github.com/users/ntucker1","html_url":"https://github.com/ntucker1","followers_url":"https://api.github.com/users/ntucker1/followers","following_url":"https://api.github.com/users/ntucker1/following{/other_user}","gists_url":"https://api.github.com/users/ntucker1/gists{/gist_id}","starred_url":"https://api.github.com/users/ntucker1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntucker1/subscriptions","organizations_url":"https://api.github.com/users/ntucker1/orgs","repos_url":"https://api.github.com/users/ntucker1/repos","events_url":"https://api.github.com/users/ntucker1/events{/privacy}","received_events_url":"https://api.github.com/users/ntucker1/received_events","type":"User","site_admin":false},"body":"More pythonic solution :-)","created_at":"2016-03-21T18:40:06Z","updated_at":"2016-03-21T19:11:19Z","closed_at":"2016-03-21T19:11:19Z","merged_at":"2016-03-21T19:11:19Z","merge_commit_sha":"2b24ef6c45e59122e49f182c750d882ddffa7796","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/pulls/51/commits","review_comments_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/pulls/51/comments","review_comment_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/issues/51/comments","statuses_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/statuses/f2b59f95bda83214c63fc88245e5fa8a9fcae612","head":{"label":"ntucker1:patch-1","ref":"patch-1","sha":"f2b59f95bda83214c63fc88245e5fa8a9fcae612","user":{"login":"ntucker1","id":13527502,"avatar_url":"https://avatars.githubusercontent.com/u/13527502?v=3","gravatar_id":"","url":"https://api.github.com/users/ntucker1","html_url":"https://github.com/ntucker1","followers_url":"https://api.github.com/users/ntucker1/followers","following_url":"https://api.github.com/users/ntucker1/following{/other_user}","gists_url":"https://api.github.com/users/ntucker1/gists{/gist_id}","starred_url":"https://api.github.com/users/ntucker1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntucker1/subscriptions","organizations_url":"https://api.github.com/users/ntucker1/orgs","repos_url":"https://api.github.com/users/ntucker1/repos","events_url":"https://api.github.com/users/ntucker1/events{/privacy}","received_events_url":"https://api.github.com/users/ntucker1/received_events","type":"User","site_admin":false},"repo":{"id":54296933,"name":"DailyProgrammerChallenges","full_name":"ntucker1/DailyProgrammerChallenges","owner":{"login":"ntucker1","id":13527502,"avatar_url":"https://avatars.githubusercontent.com/u/13527502?v=3","gravatar_id":"","url":"https://api.github.com/users/ntucker1","html_url":"https://github.com/ntucker1","followers_url":"https://api.github.com/users/ntucker1/followers","following_url":"https://api.github.com/users/ntucker1/following{/other_user}","gists_url":"https://api.github.com/users/ntucker1/gists{/gist_id}","starred_url":"https://api.github.com/users/ntucker1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntucker1/subscriptions","organizations_url":"https://api.github.com/users/ntucker1/orgs","repos_url":"https://api.github.com/users/ntucker1/repos","events_url":"https://api.github.com/users/ntucker1/events{/privacy}","received_events_url":"https://api.github.com/users/ntucker1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ntucker1/DailyProgrammerChallenges","description":"External Repo of Challenges from r/dailyprogrammer","fork":true,"url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges","forks_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/forks","keys_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/teams","hooks_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/hooks","issue_events_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/issues/events{/number}","events_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/events","assignees_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/assignees{/user}","branches_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/branches{/branch}","tags_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/tags","blobs_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/git/refs{/sha}","trees_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/statuses/{sha}","languages_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/languages","stargazers_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/stargazers","contributors_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/contributors","subscribers_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/subscribers","subscription_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/subscription","commits_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/commits{/sha}","git_commits_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/git/commits{/sha}","comments_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/comments{/number}","issue_comment_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/issues/comments{/number}","contents_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/contents/{+path}","compare_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/merges","archive_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/downloads","issues_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/issues{/number}","pulls_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/pulls{/number}","milestones_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/milestones{/number}","notifications_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/labels{/name}","releases_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/releases{/id}","deployments_url":"https://api.github.com/repos/ntucker1/DailyProgrammerChallenges/deployments","created_at":"2016-03-20T02:34:01Z","updated_at":"2016-03-20T02:34:03Z","pushed_at":"2016-03-21T18:39:36Z","git_url":"git://github.com/ntucker1/DailyProgrammerChallenges.git","ssh_url":"git@github.com:ntucker1/DailyProgrammerChallenges.git","clone_url":"https://github.com/ntucker1/DailyProgrammerChallenges.git","svn_url":"https://github.com/ntucker1/DailyProgrammerChallenges","homepage":"http://reddit.com/r/dailyprogrammer","size":1180,"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":"FreddieV4:master","ref":"master","sha":"995089fcceee4e4ef5802132388608d81b09cb5b","user":{"login":"FreddieV4","id":8339018,"avatar_url":"https://avatars.githubusercontent.com/u/8339018?v=3","gravatar_id":"","url":"https://api.github.com/users/FreddieV4","html_url":"https://github.com/FreddieV4","followers_url":"https://api.github.com/users/FreddieV4/followers","following_url":"https://api.github.com/users/FreddieV4/following{/other_user}","gists_url":"https://api.github.com/users/FreddieV4/gists{/gist_id}","starred_url":"https://api.github.com/users/FreddieV4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreddieV4/subscriptions","organizations_url":"https://api.github.com/users/FreddieV4/orgs","repos_url":"https://api.github.com/users/FreddieV4/repos","events_url":"https://api.github.com/users/FreddieV4/events{/privacy}","received_events_url":"https://api.github.com/users/FreddieV4/received_events","type":"User","site_admin":false},"repo":{"id":53020068,"name":"DailyProgrammerChallenges","full_name":"FreddieV4/DailyProgrammerChallenges","owner":{"login":"FreddieV4","id":8339018,"avatar_url":"https://avatars.githubusercontent.com/u/8339018?v=3","gravatar_id":"","url":"https://api.github.com/users/FreddieV4","html_url":"https://github.com/FreddieV4","followers_url":"https://api.github.com/users/FreddieV4/followers","following_url":"https://api.github.com/users/FreddieV4/following{/other_user}","gists_url":"https://api.github.com/users/FreddieV4/gists{/gist_id}","starred_url":"https://api.github.com/users/FreddieV4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreddieV4/subscriptions","organizations_url":"https://api.github.com/users/FreddieV4/orgs","repos_url":"https://api.github.com/users/FreddieV4/repos","events_url":"https://api.github.com/users/FreddieV4/events{/privacy}","received_events_url":"https://api.github.com/users/FreddieV4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FreddieV4/DailyProgrammerChallenges","description":"External Repo of Challenges from r/dailyprogrammer","fork":false,"url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges","forks_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/forks","keys_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/teams","hooks_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/hooks","issue_events_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/issues/events{/number}","events_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/events","assignees_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/assignees{/user}","branches_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/branches{/branch}","tags_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/tags","blobs_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/git/refs{/sha}","trees_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/statuses/{sha}","languages_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/languages","stargazers_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/stargazers","contributors_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/contributors","subscribers_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/subscribers","subscription_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/subscription","commits_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/commits{/sha}","git_commits_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/git/commits{/sha}","comments_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/comments{/number}","issue_comment_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/issues/comments{/number}","contents_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/contents/{+path}","compare_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/merges","archive_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/downloads","issues_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/issues{/number}","pulls_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/pulls{/number}","milestones_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/milestones{/number}","notifications_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/labels{/name}","releases_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/releases{/id}","deployments_url":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/deployments","created_at":"2016-03-03T04:20:28Z","updated_at":"2016-03-21T17:57:39Z","pushed_at":"2016-03-21T19:11:19Z","git_url":"git://github.com/FreddieV4/DailyProgrammerChallenges.git","ssh_url":"git@github.com:FreddieV4/DailyProgrammerChallenges.git","clone_url":"https://github.com/FreddieV4/DailyProgrammerChallenges.git","svn_url":"https://github.com/FreddieV4/DailyProgrammerChallenges","homepage":"http://reddit.com/r/dailyprogrammer","size":1175,"stargazers_count":217,"watchers_count":217,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":7,"forks":47,"open_issues":7,"watchers":217,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/pulls/51"},"html":{"href":"https://github.com/FreddieV4/DailyProgrammerChallenges/pull/51"},"issue":{"href":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/issues/51"},"comments":{"href":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/FreddieV4/DailyProgrammerChallenges/statuses/f2b59f95bda83214c63fc88245e5fa8a9fcae612"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"FreddieV4","id":8339018,"avatar_url":"https://avatars.githubusercontent.com/u/8339018?v=3","gravatar_id":"","url":"https://api.github.com/users/FreddieV4","html_url":"https://github.com/FreddieV4","followers_url":"https://api.github.com/users/FreddieV4/followers","following_url":"https://api.github.com/users/FreddieV4/following{/other_user}","gists_url":"https://api.github.com/users/FreddieV4/gists{/gist_id}","starred_url":"https://api.github.com/users/FreddieV4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreddieV4/subscriptions","organizations_url":"https://api.github.com/users/FreddieV4/orgs","repos_url":"https://api.github.com/users/FreddieV4/repos","events_url":"https://api.github.com/users/FreddieV4/events{/privacy}","received_events_url":"https://api.github.com/users/FreddieV4/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":14,"deletions":47,"changed_files":1}}