{"action":"created","comment":{"url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/comments/226125499","pull_request_review_id":165874154,"id":226125499,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjEyNTQ5OQ==","diff_hunk":"@@ -0,0 +1,74 @@\n+#email sent out to donor\n+def email(donor, donation):\n+    print('')\n+    print(f'Hello, {donor}! Thank you very much for your generous donation of ${donation}! Your contribution is essential and will be well utilized.')\n+\n+#function if user chooses to send a thank you email\n+def response1(donors_list):\n+    while True:\n+        x = 0\n+        print('')\n+        response = input('Type a Full Name: ')\n+        if response == 'list':\n+            for i in donors_list:\n+                print(i[0])\n+        elif response == 'quit':\n+            return(donors_list)\n+        else:\n+            print('')\n+            don_amt = input('What is the donation amount?: ')\n+            if don_amt == 'quit':\n+                return donors_list\n+            else:\n+                float(don_amt)\n+                count = 0\n+                for i in donors_list:\n+                    if i[0] == response:\n+                        donors_list[count].append(float(don_amt))\n+                        email(response, don_amt)\n+                        x = 2\n+                        break\n+                    count += 1\n+                if x != 2:","path":"students/Josh_HOff/lesson03/mailroom.py","position":32,"original_position":32,"commit_id":"424dc4584c05c199791ce1e665dd0cbd249360ad","original_commit_id":"424dc4584c05c199791ce1e665dd0cbd249360ad","user":{"login":"josh1209","id":43484621,"node_id":"MDQ6VXNlcjQzNDg0NjIx","avatar_url":"https://avatars3.githubusercontent.com/u/43484621?v=4","gravatar_id":"","url":"https://api.github.com/users/josh1209","html_url":"https://github.com/josh1209","followers_url":"https://api.github.com/users/josh1209/followers","following_url":"https://api.github.com/users/josh1209/following{/other_user}","gists_url":"https://api.github.com/users/josh1209/gists{/gist_id}","starred_url":"https://api.github.com/users/josh1209/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh1209/subscriptions","organizations_url":"https://api.github.com/users/josh1209/orgs","repos_url":"https://api.github.com/users/josh1209/repos","events_url":"https://api.github.com/users/josh1209/events{/privacy}","received_events_url":"https://api.github.com/users/josh1209/received_events","type":"User","site_admin":false},"body":"Nice, I understand now. If I need to use control flow like that in the future, I'll use boolean flags. I didn't have to use them in mailroom2.","created_at":"2018-10-17T23:20:58Z","updated_at":"2018-10-17T23:20:58Z","html_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pull/1044#discussion_r226125499","pull_request_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/1044","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/comments/226125499"},"html":{"href":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pull/1044#discussion_r226125499"},"pull_request":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/1044"}},"in_reply_to_id":225030787},"pull_request":{"url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/1044","id":222688688,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNjg4Njg4","html_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pull/1044","diff_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pull/1044.diff","patch_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pull/1044.patch","issue_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/issues/1044","number":1044,"state":"closed","locked":false,"title":"String Formatting Lab Exercise ","user":{"login":"josh1209","id":43484621,"node_id":"MDQ6VXNlcjQzNDg0NjIx","avatar_url":"https://avatars3.githubusercontent.com/u/43484621?v=4","gravatar_id":"","url":"https://api.github.com/users/josh1209","html_url":"https://github.com/josh1209","followers_url":"https://api.github.com/users/josh1209/followers","following_url":"https://api.github.com/users/josh1209/following{/other_user}","gists_url":"https://api.github.com/users/josh1209/gists{/gist_id}","starred_url":"https://api.github.com/users/josh1209/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh1209/subscriptions","organizations_url":"https://api.github.com/users/josh1209/orgs","repos_url":"https://api.github.com/users/josh1209/repos","events_url":"https://api.github.com/users/josh1209/events{/privacy}","received_events_url":"https://api.github.com/users/josh1209/received_events","type":"User","site_admin":false},"body":"Finished String Formatting Exercise","created_at":"2018-10-14T02:31:06Z","updated_at":"2018-10-17T23:20:58Z","closed_at":"2018-10-15T03:41:19Z","merged_at":"2018-10-15T03:41:19Z","merge_commit_sha":"bd679ef20b76a1093d848aaa87bde166967ae337","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/1044/commits","review_comments_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/1044/comments","review_comment_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/issues/1044/comments","statuses_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/statuses/424dc4584c05c199791ce1e665dd0cbd249360ad","head":{"label":"josh1209:master","ref":"master","sha":"424dc4584c05c199791ce1e665dd0cbd249360ad","user":{"login":"josh1209","id":43484621,"node_id":"MDQ6VXNlcjQzNDg0NjIx","avatar_url":"https://avatars3.githubusercontent.com/u/43484621?v=4","gravatar_id":"","url":"https://api.github.com/users/josh1209","html_url":"https://github.com/josh1209","followers_url":"https://api.github.com/users/josh1209/followers","following_url":"https://api.github.com/users/josh1209/following{/other_user}","gists_url":"https://api.github.com/users/josh1209/gists{/gist_id}","starred_url":"https://api.github.com/users/josh1209/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh1209/subscriptions","organizations_url":"https://api.github.com/users/josh1209/orgs","repos_url":"https://api.github.com/users/josh1209/repos","events_url":"https://api.github.com/users/josh1209/events{/privacy}","received_events_url":"https://api.github.com/users/josh1209/received_events","type":"User","site_admin":false},"repo":{"id":149956579,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk5NTY1Nzk=","name":"Self_Paced-Online","full_name":"josh1209/Self_Paced-Online","private":false,"owner":{"login":"josh1209","id":43484621,"node_id":"MDQ6VXNlcjQzNDg0NjIx","avatar_url":"https://avatars3.githubusercontent.com/u/43484621?v=4","gravatar_id":"","url":"https://api.github.com/users/josh1209","html_url":"https://github.com/josh1209","followers_url":"https://api.github.com/users/josh1209/followers","following_url":"https://api.github.com/users/josh1209/following{/other_user}","gists_url":"https://api.github.com/users/josh1209/gists{/gist_id}","starred_url":"https://api.github.com/users/josh1209/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh1209/subscriptions","organizations_url":"https://api.github.com/users/josh1209/orgs","repos_url":"https://api.github.com/users/josh1209/repos","events_url":"https://api.github.com/users/josh1209/events{/privacy}","received_events_url":"https://api.github.com/users/josh1209/received_events","type":"User","site_admin":false},"html_url":"https://github.com/josh1209/Self_Paced-Online","description":"Course 1 - Class repository for the self paced online class ","fork":true,"url":"https://api.github.com/repos/josh1209/Self_Paced-Online","forks_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/forks","keys_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/keys{/key_id}","collaborators_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/teams","hooks_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/hooks","issue_events_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/issues/events{/number}","events_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/events","assignees_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/assignees{/user}","branches_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/branches{/branch}","tags_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/tags","blobs_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/git/refs{/sha}","trees_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/git/trees{/sha}","statuses_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/statuses/{sha}","languages_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/languages","stargazers_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/stargazers","contributors_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/contributors","subscribers_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/subscribers","subscription_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/subscription","commits_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/commits{/sha}","git_commits_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/git/commits{/sha}","comments_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/comments{/number}","issue_comment_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/issues/comments{/number}","contents_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/contents/{+path}","compare_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/compare/{base}...{head}","merges_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/merges","archive_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/downloads","issues_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/issues{/number}","pulls_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/pulls{/number}","milestones_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/milestones{/number}","notifications_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/labels{/name}","releases_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/releases{/id}","deployments_url":"https://api.github.com/repos/josh1209/Self_Paced-Online/deployments","created_at":"2018-09-23T07:13:42Z","updated_at":"2018-10-17T22:49:27Z","pushed_at":"2018-10-17T22:49:22Z","git_url":"git://github.com/josh1209/Self_Paced-Online.git","ssh_url":"git@github.com:josh1209/Self_Paced-Online.git","clone_url":"https://github.com/josh1209/Self_Paced-Online.git","svn_url":"https://github.com/josh1209/Self_Paced-Online","homepage":"","size":15656,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"UWPCE-PythonCert-ClassRepos:master","ref":"master","sha":"954052a2f83a4522616e5e96df552f8e594a2674","user":{"login":"UWPCE-PythonCert-ClassRepos","id":34701012,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzAxMDEy","avatar_url":"https://avatars0.githubusercontent.com/u/34701012?v=4","gravatar_id":"","url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos","html_url":"https://github.com/UWPCE-PythonCert-ClassRepos","followers_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/followers","following_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/following{/other_user}","gists_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/gists{/gist_id}","starred_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/subscriptions","organizations_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/orgs","repos_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/repos","events_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/events{/privacy}","received_events_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/received_events","type":"Organization","site_admin":false},"repo":{"id":115212391,"node_id":"MDEwOlJlcG9zaXRvcnkxMTUyMTIzOTE=","name":"Self_Paced-Online","full_name":"UWPCE-PythonCert-ClassRepos/Self_Paced-Online","private":false,"owner":{"login":"UWPCE-PythonCert-ClassRepos","id":34701012,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzAxMDEy","avatar_url":"https://avatars0.githubusercontent.com/u/34701012?v=4","gravatar_id":"","url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos","html_url":"https://github.com/UWPCE-PythonCert-ClassRepos","followers_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/followers","following_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/following{/other_user}","gists_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/gists{/gist_id}","starred_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/subscriptions","organizations_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/orgs","repos_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/repos","events_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/events{/privacy}","received_events_url":"https://api.github.com/users/UWPCE-PythonCert-ClassRepos/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online","description":"Course 1 - Class repository for the self paced online class ","fork":false,"url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online","forks_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/forks","keys_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/teams","hooks_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/hooks","issue_events_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/issues/events{/number}","events_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/events","assignees_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/assignees{/user}","branches_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/branches{/branch}","tags_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/tags","blobs_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/git/refs{/sha}","trees_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/statuses/{sha}","languages_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/languages","stargazers_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/stargazers","contributors_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/contributors","subscribers_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/subscribers","subscription_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/subscription","commits_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/commits{/sha}","git_commits_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/git/commits{/sha}","comments_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/comments{/number}","issue_comment_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/issues/comments{/number}","contents_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/contents/{+path}","compare_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/merges","archive_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/downloads","issues_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/issues{/number}","pulls_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls{/number}","milestones_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/milestones{/number}","notifications_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/labels{/name}","releases_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/releases{/id}","deployments_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/deployments","created_at":"2017-12-23T17:52:41Z","updated_at":"2018-10-17T14:46:19Z","pushed_at":"2018-10-17T22:52:20Z","git_url":"git://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online.git","ssh_url":"git@github.com:UWPCE-PythonCert-ClassRepos/Self_Paced-Online.git","clone_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online.git","svn_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online","homepage":"","size":15699,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":109,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":109,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/1044"},"html":{"href":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pull/1044"},"issue":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/issues/1044"},"comments":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/issues/1044/comments"},"review_comments":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/1044/comments"},"review_comment":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/1044/commits"},"statuses":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/statuses/424dc4584c05c199791ce1e665dd0cbd249360ad"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"josh1209"}}