{"action":"created","comment":{"url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/pulls/comments/200437079","pull_request_review_id":134754286,"id":200437079,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDQzNzA3OQ==","diff_hunk":"@@ -0,0 +1,25 @@\n+#!/usr/bin/env python3\n+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Thu May 10 15:34:22 2018\n+\n+@author: amyhaddad\n+\"\"\"\n+\n+#step1: get input for principal amount\n+principal_amount = int(input(\"Enter the principal amount: $\"))\n+\n+#step2: get input for interest rate as a percent (ie, \"15\" and not \".15\")\n+interest_rate = float(input(\"Enter the interest rate: \"))\n+\n+#step3: turn interest rate into decimal\n+interest_rate_as_decimal = (interest_rate/100) \n+\n+#step4: get input for length of time invested\n+years_invested = int(input(\"Enter the number of years invested: \"))","path":"ex12_ch3.py","position":19,"original_position":19,"commit_id":"68052bf9f57aca3aaafcf798f079142bd62842d5","original_commit_id":"68052bf9f57aca3aaafcf798f079142bd62842d5","user":{"login":"paulghaddad","id":1412714,"node_id":"MDQ6VXNlcjE0MTI3MTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1412714?v=4","gravatar_id":"","url":"https://api.github.com/users/paulghaddad","html_url":"https://github.com/paulghaddad","followers_url":"https://api.github.com/users/paulghaddad/followers","following_url":"https://api.github.com/users/paulghaddad/following{/other_user}","gists_url":"https://api.github.com/users/paulghaddad/gists{/gist_id}","starred_url":"https://api.github.com/users/paulghaddad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulghaddad/subscriptions","organizations_url":"https://api.github.com/users/paulghaddad/orgs","repos_url":"https://api.github.com/users/paulghaddad/repos","events_url":"https://api.github.com/users/paulghaddad/events{/privacy}","received_events_url":"https://api.github.com/users/paulghaddad/received_events","type":"User","site_admin":false},"body":"Same `float` comment as above.","created_at":"2018-07-05T17:52:39Z","updated_at":"2018-07-05T17:54:31Z","html_url":"https://github.com/amymhaddad/exercises_for_programmers/pull/38#discussion_r200437079","pull_request_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/pulls/38","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/pulls/comments/200437079"},"html":{"href":"https://github.com/amymhaddad/exercises_for_programmers/pull/38#discussion_r200437079"},"pull_request":{"href":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/pulls/38","id":199450371,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5NDUwMzcx","html_url":"https://github.com/amymhaddad/exercises_for_programmers/pull/38","diff_url":"https://github.com/amymhaddad/exercises_for_programmers/pull/38.diff","patch_url":"https://github.com/amymhaddad/exercises_for_programmers/pull/38.patch","issue_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/issues/38","number":38,"state":"open","locked":false,"title":"ex12_ch3.py","user":{"login":"amymhaddad","id":39930340,"node_id":"MDQ6VXNlcjM5OTMwMzQw","avatar_url":"https://avatars1.githubusercontent.com/u/39930340?v=4","gravatar_id":"","url":"https://api.github.com/users/amymhaddad","html_url":"https://github.com/amymhaddad","followers_url":"https://api.github.com/users/amymhaddad/followers","following_url":"https://api.github.com/users/amymhaddad/following{/other_user}","gists_url":"https://api.github.com/users/amymhaddad/gists{/gist_id}","starred_url":"https://api.github.com/users/amymhaddad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amymhaddad/subscriptions","organizations_url":"https://api.github.com/users/amymhaddad/orgs","repos_url":"https://api.github.com/users/amymhaddad/repos","events_url":"https://api.github.com/users/amymhaddad/events{/privacy}","received_events_url":"https://api.github.com/users/amymhaddad/received_events","type":"User","site_admin":false},"body":"Instructions: Create a program that computes simple interest. Prompt for the principal amount, the rate as a percentage, and the time, and display the amount accrued (principal + interest).\r\n\r\nExample Output:\r\n       Enter the principal: 1500\r\n       Enter the rate of interest: 4.3\r\n       Enter the number of years: 4\r\n       After 4 years at 4.3%, the investment will\r\n       be worth $1758.","created_at":"2018-07-05T12:13:16Z","updated_at":"2018-07-05T17:54:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"641bba00d23215246b2b385d51481363baf360f9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":984779700,"node_id":"MDU6TGFiZWw5ODQ3Nzk3MDA=","url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/labels/input","name":"input","color":"ffc6d2","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/pulls/38/commits","review_comments_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/pulls/38/comments","review_comment_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/issues/38/comments","statuses_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/statuses/68052bf9f57aca3aaafcf798f079142bd62842d5","head":{"label":"amymhaddad:ex12_ch3.py","ref":"ex12_ch3.py","sha":"68052bf9f57aca3aaafcf798f079142bd62842d5","user":{"login":"amymhaddad","id":39930340,"node_id":"MDQ6VXNlcjM5OTMwMzQw","avatar_url":"https://avatars1.githubusercontent.com/u/39930340?v=4","gravatar_id":"","url":"https://api.github.com/users/amymhaddad","html_url":"https://github.com/amymhaddad","followers_url":"https://api.github.com/users/amymhaddad/followers","following_url":"https://api.github.com/users/amymhaddad/following{/other_user}","gists_url":"https://api.github.com/users/amymhaddad/gists{/gist_id}","starred_url":"https://api.github.com/users/amymhaddad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amymhaddad/subscriptions","organizations_url":"https://api.github.com/users/amymhaddad/orgs","repos_url":"https://api.github.com/users/amymhaddad/repos","events_url":"https://api.github.com/users/amymhaddad/events{/privacy}","received_events_url":"https://api.github.com/users/amymhaddad/received_events","type":"User","site_admin":false},"repo":{"id":136092133,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYwOTIxMzM=","name":"exercises_for_programmers","full_name":"amymhaddad/exercises_for_programmers","owner":{"login":"amymhaddad","id":39930340,"node_id":"MDQ6VXNlcjM5OTMwMzQw","avatar_url":"https://avatars1.githubusercontent.com/u/39930340?v=4","gravatar_id":"","url":"https://api.github.com/users/amymhaddad","html_url":"https://github.com/amymhaddad","followers_url":"https://api.github.com/users/amymhaddad/followers","following_url":"https://api.github.com/users/amymhaddad/following{/other_user}","gists_url":"https://api.github.com/users/amymhaddad/gists{/gist_id}","starred_url":"https://api.github.com/users/amymhaddad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amymhaddad/subscriptions","organizations_url":"https://api.github.com/users/amymhaddad/orgs","repos_url":"https://api.github.com/users/amymhaddad/repos","events_url":"https://api.github.com/users/amymhaddad/events{/privacy}","received_events_url":"https://api.github.com/users/amymhaddad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amymhaddad/exercises_for_programmers","description":null,"fork":false,"url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers","forks_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/forks","keys_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/teams","hooks_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/hooks","issue_events_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/issues/events{/number}","events_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/events","assignees_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/assignees{/user}","branches_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/branches{/branch}","tags_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/tags","blobs_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/git/refs{/sha}","trees_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/statuses/{sha}","languages_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/languages","stargazers_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/stargazers","contributors_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/contributors","subscribers_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/subscribers","subscription_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/subscription","commits_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/commits{/sha}","git_commits_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/git/commits{/sha}","comments_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/comments{/number}","issue_comment_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/issues/comments{/number}","contents_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/contents/{+path}","compare_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/merges","archive_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/downloads","issues_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/issues{/number}","pulls_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/pulls{/number}","milestones_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/milestones{/number}","notifications_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/labels{/name}","releases_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/releases{/id}","deployments_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/deployments","created_at":"2018-06-04T23:04:11Z","updated_at":"2018-06-04T23:11:07Z","pushed_at":"2018-07-05T12:48:58Z","git_url":"git://github.com/amymhaddad/exercises_for_programmers.git","ssh_url":"git@github.com:amymhaddad/exercises_for_programmers.git","clone_url":"https://github.com/amymhaddad/exercises_for_programmers.git","svn_url":"https://github.com/amymhaddad/exercises_for_programmers","homepage":null,"size":34,"stargazers_count":0,"watchers_count":0,"language":null,"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":35,"license":null,"forks":0,"open_issues":35,"watchers":0,"default_branch":"master"}},"base":{"label":"amymhaddad:master","ref":"master","sha":"3acfcf3a40603cac387365d282e4ed6670f27973","user":{"login":"amymhaddad","id":39930340,"node_id":"MDQ6VXNlcjM5OTMwMzQw","avatar_url":"https://avatars1.githubusercontent.com/u/39930340?v=4","gravatar_id":"","url":"https://api.github.com/users/amymhaddad","html_url":"https://github.com/amymhaddad","followers_url":"https://api.github.com/users/amymhaddad/followers","following_url":"https://api.github.com/users/amymhaddad/following{/other_user}","gists_url":"https://api.github.com/users/amymhaddad/gists{/gist_id}","starred_url":"https://api.github.com/users/amymhaddad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amymhaddad/subscriptions","organizations_url":"https://api.github.com/users/amymhaddad/orgs","repos_url":"https://api.github.com/users/amymhaddad/repos","events_url":"https://api.github.com/users/amymhaddad/events{/privacy}","received_events_url":"https://api.github.com/users/amymhaddad/received_events","type":"User","site_admin":false},"repo":{"id":136092133,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYwOTIxMzM=","name":"exercises_for_programmers","full_name":"amymhaddad/exercises_for_programmers","owner":{"login":"amymhaddad","id":39930340,"node_id":"MDQ6VXNlcjM5OTMwMzQw","avatar_url":"https://avatars1.githubusercontent.com/u/39930340?v=4","gravatar_id":"","url":"https://api.github.com/users/amymhaddad","html_url":"https://github.com/amymhaddad","followers_url":"https://api.github.com/users/amymhaddad/followers","following_url":"https://api.github.com/users/amymhaddad/following{/other_user}","gists_url":"https://api.github.com/users/amymhaddad/gists{/gist_id}","starred_url":"https://api.github.com/users/amymhaddad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amymhaddad/subscriptions","organizations_url":"https://api.github.com/users/amymhaddad/orgs","repos_url":"https://api.github.com/users/amymhaddad/repos","events_url":"https://api.github.com/users/amymhaddad/events{/privacy}","received_events_url":"https://api.github.com/users/amymhaddad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amymhaddad/exercises_for_programmers","description":null,"fork":false,"url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers","forks_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/forks","keys_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/teams","hooks_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/hooks","issue_events_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/issues/events{/number}","events_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/events","assignees_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/assignees{/user}","branches_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/branches{/branch}","tags_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/tags","blobs_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/git/refs{/sha}","trees_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/statuses/{sha}","languages_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/languages","stargazers_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/stargazers","contributors_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/contributors","subscribers_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/subscribers","subscription_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/subscription","commits_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/commits{/sha}","git_commits_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/git/commits{/sha}","comments_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/comments{/number}","issue_comment_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/issues/comments{/number}","contents_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/contents/{+path}","compare_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/merges","archive_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/downloads","issues_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/issues{/number}","pulls_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/pulls{/number}","milestones_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/milestones{/number}","notifications_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/labels{/name}","releases_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/releases{/id}","deployments_url":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/deployments","created_at":"2018-06-04T23:04:11Z","updated_at":"2018-06-04T23:11:07Z","pushed_at":"2018-07-05T12:48:58Z","git_url":"git://github.com/amymhaddad/exercises_for_programmers.git","ssh_url":"git@github.com:amymhaddad/exercises_for_programmers.git","clone_url":"https://github.com/amymhaddad/exercises_for_programmers.git","svn_url":"https://github.com/amymhaddad/exercises_for_programmers","homepage":null,"size":34,"stargazers_count":0,"watchers_count":0,"language":null,"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":35,"license":null,"forks":0,"open_issues":35,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/pulls/38"},"html":{"href":"https://github.com/amymhaddad/exercises_for_programmers/pull/38"},"issue":{"href":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/issues/38"},"comments":{"href":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/amymhaddad/exercises_for_programmers/statuses/68052bf9f57aca3aaafcf798f079142bd62842d5"}},"author_association":"OWNER"}}
{"actor":{"display_login":"paulghaddad"}}