{"action":"created","comment":{"url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/comments/185991619","pull_request_review_id":117493930,"id":185991619,"diff_hunk":"@@ -0,0 +1,38 @@\n+## Ian Letourneau\n+## 5/2/2018\n+## A script to run multiple tasks utilizing string formatting\n+\n+#Task One: Utilize string formatting to print a string in a specific output format\n+print ('file{:0>3} :    {:.2f}, {:.2e}, {:.2e}'.format(2, 123.4567, 10000, 12345.67))\n+\n+#Task Two: Utilize string formatting to print the string from Task One using keywords\n+print ('file{:{pad}} :    {:{flt}}, {:{science}}, {:{science}}'.format(2,  123.4567, 10000, 12345.67, pad='0>3', flt='.2f', science='.2e'))\n+\n+#Task Three: Utilize string formatting to run a function that returns a formatted string from a tuple of unspecified length\n+def formatter(t):\n+    fstring = \"the \" + str(len(t)) + \" numbers are:\"\n+    for i in range(0,len(t)):\n+        fstring += \" {:d}\"\n+        if i < len(t)-1:\n+            fstring += \",\"\n+    return (fstring.format(*t))","path":"students/ian_letourneau/Lesson03/strformat_lab.py","position":18,"original_position":18,"commit_id":"6281f609ba9dc7a0dadba34eb83cf26fcdc96203","original_commit_id":"6281f609ba9dc7a0dadba34eb83cf26fcdc96203","user":{"login":"natasha-aleksandrova","id":1928658,"avatar_url":"https://avatars2.githubusercontent.com/u/1928658?v=4","gravatar_id":"","url":"https://api.github.com/users/natasha-aleksandrova","html_url":"https://github.com/natasha-aleksandrova","followers_url":"https://api.github.com/users/natasha-aleksandrova/followers","following_url":"https://api.github.com/users/natasha-aleksandrova/following{/other_user}","gists_url":"https://api.github.com/users/natasha-aleksandrova/gists{/gist_id}","starred_url":"https://api.github.com/users/natasha-aleksandrova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natasha-aleksandrova/subscriptions","organizations_url":"https://api.github.com/users/natasha-aleksandrova/orgs","repos_url":"https://api.github.com/users/natasha-aleksandrova/repos","events_url":"https://api.github.com/users/natasha-aleksandrova/events{/privacy}","received_events_url":"https://api.github.com/users/natasha-aleksandrova/received_events","type":"User","site_admin":false},"body":"no need for extra parens","created_at":"2018-05-04T05:05:32Z","updated_at":"2018-05-04T05:08:10Z","html_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pull/506#discussion_r185991619","pull_request_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/506","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/comments/185991619"},"html":{"href":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pull/506#discussion_r185991619"},"pull_request":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/506"}}},"pull_request":{"url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/506","id":185802305,"html_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pull/506","diff_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pull/506.diff","patch_url":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pull/506.patch","issue_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/issues/506","number":506,"state":"open","locked":false,"title":"Turning in exercises for Lesson 03.","user":{"login":"letoui","id":22602130,"avatar_url":"https://avatars2.githubusercontent.com/u/22602130?v=4","gravatar_id":"","url":"https://api.github.com/users/letoui","html_url":"https://github.com/letoui","followers_url":"https://api.github.com/users/letoui/followers","following_url":"https://api.github.com/users/letoui/following{/other_user}","gists_url":"https://api.github.com/users/letoui/gists{/gist_id}","starred_url":"https://api.github.com/users/letoui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letoui/subscriptions","organizations_url":"https://api.github.com/users/letoui/orgs","repos_url":"https://api.github.com/users/letoui/repos","events_url":"https://api.github.com/users/letoui/events{/privacy}","received_events_url":"https://api.github.com/users/letoui/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-03T18:37:20Z","updated_at":"2018-05-04T05:08:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a58a84067603d4dbcf9c3431db95173572b86e72","assignee":{"login":"natasha-aleksandrova","id":1928658,"avatar_url":"https://avatars2.githubusercontent.com/u/1928658?v=4","gravatar_id":"","url":"https://api.github.com/users/natasha-aleksandrova","html_url":"https://github.com/natasha-aleksandrova","followers_url":"https://api.github.com/users/natasha-aleksandrova/followers","following_url":"https://api.github.com/users/natasha-aleksandrova/following{/other_user}","gists_url":"https://api.github.com/users/natasha-aleksandrova/gists{/gist_id}","starred_url":"https://api.github.com/users/natasha-aleksandrova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natasha-aleksandrova/subscriptions","organizations_url":"https://api.github.com/users/natasha-aleksandrova/orgs","repos_url":"https://api.github.com/users/natasha-aleksandrova/repos","events_url":"https://api.github.com/users/natasha-aleksandrova/events{/privacy}","received_events_url":"https://api.github.com/users/natasha-aleksandrova/received_events","type":"User","site_admin":false},"assignees":[{"login":"natasha-aleksandrova","id":1928658,"avatar_url":"https://avatars2.githubusercontent.com/u/1928658?v=4","gravatar_id":"","url":"https://api.github.com/users/natasha-aleksandrova","html_url":"https://github.com/natasha-aleksandrova","followers_url":"https://api.github.com/users/natasha-aleksandrova/followers","following_url":"https://api.github.com/users/natasha-aleksandrova/following{/other_user}","gists_url":"https://api.github.com/users/natasha-aleksandrova/gists{/gist_id}","starred_url":"https://api.github.com/users/natasha-aleksandrova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natasha-aleksandrova/subscriptions","organizations_url":"https://api.github.com/users/natasha-aleksandrova/orgs","repos_url":"https://api.github.com/users/natasha-aleksandrova/repos","events_url":"https://api.github.com/users/natasha-aleksandrova/events{/privacy}","received_events_url":"https://api.github.com/users/natasha-aleksandrova/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/506/commits","review_comments_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/506/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/506/comments","statuses_url":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/statuses/6281f609ba9dc7a0dadba34eb83cf26fcdc96203","head":{"label":"letoui:master","ref":"master","sha":"6281f609ba9dc7a0dadba34eb83cf26fcdc96203","user":{"login":"letoui","id":22602130,"avatar_url":"https://avatars2.githubusercontent.com/u/22602130?v=4","gravatar_id":"","url":"https://api.github.com/users/letoui","html_url":"https://github.com/letoui","followers_url":"https://api.github.com/users/letoui/followers","following_url":"https://api.github.com/users/letoui/following{/other_user}","gists_url":"https://api.github.com/users/letoui/gists{/gist_id}","starred_url":"https://api.github.com/users/letoui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letoui/subscriptions","organizations_url":"https://api.github.com/users/letoui/orgs","repos_url":"https://api.github.com/users/letoui/repos","events_url":"https://api.github.com/users/letoui/events{/privacy}","received_events_url":"https://api.github.com/users/letoui/received_events","type":"User","site_admin":false},"repo":{"id":130265900,"name":"Self_Paced-Online","full_name":"letoui/Self_Paced-Online","owner":{"login":"letoui","id":22602130,"avatar_url":"https://avatars2.githubusercontent.com/u/22602130?v=4","gravatar_id":"","url":"https://api.github.com/users/letoui","html_url":"https://github.com/letoui","followers_url":"https://api.github.com/users/letoui/followers","following_url":"https://api.github.com/users/letoui/following{/other_user}","gists_url":"https://api.github.com/users/letoui/gists{/gist_id}","starred_url":"https://api.github.com/users/letoui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letoui/subscriptions","organizations_url":"https://api.github.com/users/letoui/orgs","repos_url":"https://api.github.com/users/letoui/repos","events_url":"https://api.github.com/users/letoui/events{/privacy}","received_events_url":"https://api.github.com/users/letoui/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/letoui/Self_Paced-Online","description":"Class repository for the self paced online class","fork":true,"url":"https://api.github.com/repos/letoui/Self_Paced-Online","forks_url":"https://api.github.com/repos/letoui/Self_Paced-Online/forks","keys_url":"https://api.github.com/repos/letoui/Self_Paced-Online/keys{/key_id}","collaborators_url":"https://api.github.com/repos/letoui/Self_Paced-Online/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/letoui/Self_Paced-Online/teams","hooks_url":"https://api.github.com/repos/letoui/Self_Paced-Online/hooks","issue_events_url":"https://api.github.com/repos/letoui/Self_Paced-Online/issues/events{/number}","events_url":"https://api.github.com/repos/letoui/Self_Paced-Online/events","assignees_url":"https://api.github.com/repos/letoui/Self_Paced-Online/assignees{/user}","branches_url":"https://api.github.com/repos/letoui/Self_Paced-Online/branches{/branch}","tags_url":"https://api.github.com/repos/letoui/Self_Paced-Online/tags","blobs_url":"https://api.github.com/repos/letoui/Self_Paced-Online/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/letoui/Self_Paced-Online/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/letoui/Self_Paced-Online/git/refs{/sha}","trees_url":"https://api.github.com/repos/letoui/Self_Paced-Online/git/trees{/sha}","statuses_url":"https://api.github.com/repos/letoui/Self_Paced-Online/statuses/{sha}","languages_url":"https://api.github.com/repos/letoui/Self_Paced-Online/languages","stargazers_url":"https://api.github.com/repos/letoui/Self_Paced-Online/stargazers","contributors_url":"https://api.github.com/repos/letoui/Self_Paced-Online/contributors","subscribers_url":"https://api.github.com/repos/letoui/Self_Paced-Online/subscribers","subscription_url":"https://api.github.com/repos/letoui/Self_Paced-Online/subscription","commits_url":"https://api.github.com/repos/letoui/Self_Paced-Online/commits{/sha}","git_commits_url":"https://api.github.com/repos/letoui/Self_Paced-Online/git/commits{/sha}","comments_url":"https://api.github.com/repos/letoui/Self_Paced-Online/comments{/number}","issue_comment_url":"https://api.github.com/repos/letoui/Self_Paced-Online/issues/comments{/number}","contents_url":"https://api.github.com/repos/letoui/Self_Paced-Online/contents/{+path}","compare_url":"https://api.github.com/repos/letoui/Self_Paced-Online/compare/{base}...{head}","merges_url":"https://api.github.com/repos/letoui/Self_Paced-Online/merges","archive_url":"https://api.github.com/repos/letoui/Self_Paced-Online/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/letoui/Self_Paced-Online/downloads","issues_url":"https://api.github.com/repos/letoui/Self_Paced-Online/issues{/number}","pulls_url":"https://api.github.com/repos/letoui/Self_Paced-Online/pulls{/number}","milestones_url":"https://api.github.com/repos/letoui/Self_Paced-Online/milestones{/number}","notifications_url":"https://api.github.com/repos/letoui/Self_Paced-Online/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/letoui/Self_Paced-Online/labels{/name}","releases_url":"https://api.github.com/repos/letoui/Self_Paced-Online/releases{/id}","deployments_url":"https://api.github.com/repos/letoui/Self_Paced-Online/deployments","created_at":"2018-04-19T19:54:42Z","updated_at":"2018-05-03T18:36:17Z","pushed_at":"2018-05-03T18:36:16Z","git_url":"git://github.com/letoui/Self_Paced-Online.git","ssh_url":"git@github.com:letoui/Self_Paced-Online.git","clone_url":"https://github.com/letoui/Self_Paced-Online.git","svn_url":"https://github.com/letoui/Self_Paced-Online","homepage":null,"size":8041,"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":"78c85a37f0caa1ff5fa01adeffd60fa825259acf","user":{"login":"UWPCE-PythonCert-ClassRepos","id":34701012,"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,"name":"Self_Paced-Online","full_name":"UWPCE-PythonCert-ClassRepos/Self_Paced-Online","owner":{"login":"UWPCE-PythonCert-ClassRepos","id":34701012,"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},"private":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-05-04T04:50:29Z","pushed_at":"2018-05-04T04:50:27Z","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":8034,"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":61,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":61,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/506"},"html":{"href":"https://github.com/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pull/506"},"issue":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/issues/506"},"comments":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/issues/506/comments"},"review_comments":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/pulls/506/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/506/commits"},"statuses":{"href":"https://api.github.com/repos/UWPCE-PythonCert-ClassRepos/Self_Paced-Online/statuses/6281f609ba9dc7a0dadba34eb83cf26fcdc96203"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"natasha-aleksandrova"}}