{"action":"created","comment":{"url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/pulls/comments/26889253","id":26889253,"diff_hunk":"@@ -0,0 +1,38 @@\n+#! usr/bin/env python\n+# *-* coding: utf-8 *-*\n+\"\"\"Docstring\"\"\"\n+\n+import decimal\n+\n+\n+def lexicographics(to_analyze):\n+    \"\"\"This is a docstring.\n+\n+    Arg:\n+        to_analyze(str): a required string\n+    Return:\n+        To return values as tuples, in the order defined\n+    Example:\n+        >>> import task_03\n+        >>> task_03.lexicographics('''Don't stop believing,\n+        Hold on to that feeling.''')\n+        (5, 3, Decimal(4.0))\n+\n+        >>> import task_03\n+        >>> import data\n+        >>> task_03.lexicographics(data.SHAKESPEARE)\n+        (12, 5, Decimal('8.14'))\n+    \"\"\"\n+    split_one = to_analyze.split('\\n')\n+    length = []\n+\n+    for words in split_one:\n+        split_two = words.split()\n+        length.append(len(split_two))\n+        t_length = len(split_one)\n+        max_length = max(length)","path":"task_03.py","position":33,"original_position":33,"commit_id":"148464b2e41791121c0fa8770b4b3c3eb2383450","original_commit_id":"148464b2e41791121c0fa8770b4b3c3eb2383450","user":{"login":"cheuschober","id":1184479,"avatar_url":"https://avatars.githubusercontent.com/u/1184479?v=3","gravatar_id":"","url":"https://api.github.com/users/cheuschober","html_url":"https://github.com/cheuschober","followers_url":"https://api.github.com/users/cheuschober/followers","following_url":"https://api.github.com/users/cheuschober/following{/other_user}","gists_url":"https://api.github.com/users/cheuschober/gists{/gist_id}","starred_url":"https://api.github.com/users/cheuschober/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheuschober/subscriptions","organizations_url":"https://api.github.com/users/cheuschober/orgs","repos_url":"https://api.github.com/users/cheuschober/repos","events_url":"https://api.github.com/users/cheuschober/events{/privacy}","received_events_url":"https://api.github.com/users/cheuschober/received_events","type":"User","site_admin":false},"body":"@eliz79, Just a question -- do you need to calculate the max, min, total, average, etc that many times? Just how much code *really* needs to go inside your loop? You totally have the right idea with lines 29-31 but you're \"repeating\" yourself a lot because you have several things running inside the loop over and over again.","created_at":"2015-03-21T05:10:47Z","updated_at":"2015-03-21T05:10:47Z","html_url":"https://github.com/is210-2015-spring-01/is210-week-08-warmup/pull/5#discussion_r26889253","pull_request_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/pulls/comments/26889253"},"html":{"href":"https://github.com/is210-2015-spring-01/is210-week-08-warmup/pull/5#discussion_r26889253"},"pull_request":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/pulls/5","id":31583943,"html_url":"https://github.com/is210-2015-spring-01/is210-week-08-warmup/pull/5","diff_url":"https://github.com/is210-2015-spring-01/is210-week-08-warmup/pull/5.diff","patch_url":"https://github.com/is210-2015-spring-01/is210-week-08-warmup/pull/5.patch","issue_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/issues/5","number":5,"state":"open","locked":false,"title":"Attempting task 2 and still confused on task 1","user":{"login":"eliz79","id":10748900,"avatar_url":"https://avatars.githubusercontent.com/u/10748900?v=3","gravatar_id":"","url":"https://api.github.com/users/eliz79","html_url":"https://github.com/eliz79","followers_url":"https://api.github.com/users/eliz79/followers","following_url":"https://api.github.com/users/eliz79/following{/other_user}","gists_url":"https://api.github.com/users/eliz79/gists{/gist_id}","starred_url":"https://api.github.com/users/eliz79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliz79/subscriptions","organizations_url":"https://api.github.com/users/eliz79/orgs","repos_url":"https://api.github.com/users/eliz79/repos","events_url":"https://api.github.com/users/eliz79/events{/privacy}","received_events_url":"https://api.github.com/users/eliz79/received_events","type":"User","site_admin":false},"body":"Task 1 -still somewhat confused, i'm not certain what is the left side vs the right side. \r\nTask 2 - attempting to solve","created_at":"2015-03-20T02:32:55Z","updated_at":"2015-03-21T05:10:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b2743cd8d5cee50b800039be7b2b49767cf92aa9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/pulls/5/commits","review_comments_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/pulls/5/comments","review_comment_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/issues/5/comments","statuses_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/statuses/148464b2e41791121c0fa8770b4b3c3eb2383450","head":{"label":"eliz79:master","ref":"master","sha":"148464b2e41791121c0fa8770b4b3c3eb2383450","user":{"login":"eliz79","id":10748900,"avatar_url":"https://avatars.githubusercontent.com/u/10748900?v=3","gravatar_id":"","url":"https://api.github.com/users/eliz79","html_url":"https://github.com/eliz79","followers_url":"https://api.github.com/users/eliz79/followers","following_url":"https://api.github.com/users/eliz79/following{/other_user}","gists_url":"https://api.github.com/users/eliz79/gists{/gist_id}","starred_url":"https://api.github.com/users/eliz79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliz79/subscriptions","organizations_url":"https://api.github.com/users/eliz79/orgs","repos_url":"https://api.github.com/users/eliz79/repos","events_url":"https://api.github.com/users/eliz79/events{/privacy}","received_events_url":"https://api.github.com/users/eliz79/received_events","type":"User","site_admin":false},"repo":{"id":32361760,"name":"is210-week-08-warmup","full_name":"eliz79/is210-week-08-warmup","owner":{"login":"eliz79","id":10748900,"avatar_url":"https://avatars.githubusercontent.com/u/10748900?v=3","gravatar_id":"","url":"https://api.github.com/users/eliz79","html_url":"https://github.com/eliz79","followers_url":"https://api.github.com/users/eliz79/followers","following_url":"https://api.github.com/users/eliz79/following{/other_user}","gists_url":"https://api.github.com/users/eliz79/gists{/gist_id}","starred_url":"https://api.github.com/users/eliz79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliz79/subscriptions","organizations_url":"https://api.github.com/users/eliz79/orgs","repos_url":"https://api.github.com/users/eliz79/repos","events_url":"https://api.github.com/users/eliz79/events{/privacy}","received_events_url":"https://api.github.com/users/eliz79/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eliz79/is210-week-08-warmup","description":"Week #08 Warmup Tasks","fork":true,"url":"https://api.github.com/repos/eliz79/is210-week-08-warmup","forks_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/forks","keys_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/teams","hooks_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/hooks","issue_events_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/issues/events{/number}","events_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/events","assignees_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/assignees{/user}","branches_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/branches{/branch}","tags_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/tags","blobs_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/git/refs{/sha}","trees_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/statuses/{sha}","languages_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/languages","stargazers_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/stargazers","contributors_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/contributors","subscribers_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/subscribers","subscription_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/subscription","commits_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/commits{/sha}","git_commits_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/git/commits{/sha}","comments_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/comments{/number}","issue_comment_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/issues/comments{/number}","contents_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/contents/{+path}","compare_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/merges","archive_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/downloads","issues_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/issues{/number}","pulls_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/pulls{/number}","milestones_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/milestones{/number}","notifications_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/labels{/name}","releases_url":"https://api.github.com/repos/eliz79/is210-week-08-warmup/releases{/id}","created_at":"2015-03-17T00:35:39Z","updated_at":"2015-03-21T02:03:02Z","pushed_at":"2015-03-21T02:03:02Z","git_url":"git://github.com/eliz79/is210-week-08-warmup.git","ssh_url":"git@github.com:eliz79/is210-week-08-warmup.git","clone_url":"https://github.com/eliz79/is210-week-08-warmup.git","svn_url":"https://github.com/eliz79/is210-week-08-warmup","homepage":null,"size":73,"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":"is210-2015-spring-01:eliz79","ref":"eliz79","sha":"2b63f6ac4e33c734291a78a2fe4ff8dc0792cda6","user":{"login":"is210-2015-spring-01","id":10734022,"avatar_url":"https://avatars.githubusercontent.com/u/10734022?v=3","gravatar_id":"","url":"https://api.github.com/users/is210-2015-spring-01","html_url":"https://github.com/is210-2015-spring-01","followers_url":"https://api.github.com/users/is210-2015-spring-01/followers","following_url":"https://api.github.com/users/is210-2015-spring-01/following{/other_user}","gists_url":"https://api.github.com/users/is210-2015-spring-01/gists{/gist_id}","starred_url":"https://api.github.com/users/is210-2015-spring-01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/is210-2015-spring-01/subscriptions","organizations_url":"https://api.github.com/users/is210-2015-spring-01/orgs","repos_url":"https://api.github.com/users/is210-2015-spring-01/repos","events_url":"https://api.github.com/users/is210-2015-spring-01/events{/privacy}","received_events_url":"https://api.github.com/users/is210-2015-spring-01/received_events","type":"Organization","site_admin":false},"repo":{"id":32301721,"name":"is210-week-08-warmup","full_name":"is210-2015-spring-01/is210-week-08-warmup","owner":{"login":"is210-2015-spring-01","id":10734022,"avatar_url":"https://avatars.githubusercontent.com/u/10734022?v=3","gravatar_id":"","url":"https://api.github.com/users/is210-2015-spring-01","html_url":"https://github.com/is210-2015-spring-01","followers_url":"https://api.github.com/users/is210-2015-spring-01/followers","following_url":"https://api.github.com/users/is210-2015-spring-01/following{/other_user}","gists_url":"https://api.github.com/users/is210-2015-spring-01/gists{/gist_id}","starred_url":"https://api.github.com/users/is210-2015-spring-01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/is210-2015-spring-01/subscriptions","organizations_url":"https://api.github.com/users/is210-2015-spring-01/orgs","repos_url":"https://api.github.com/users/is210-2015-spring-01/repos","events_url":"https://api.github.com/users/is210-2015-spring-01/events{/privacy}","received_events_url":"https://api.github.com/users/is210-2015-spring-01/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/is210-2015-spring-01/is210-week-08-warmup","description":"Week #08 Warmup Tasks","fork":true,"url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup","forks_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/forks","keys_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/teams","hooks_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/hooks","issue_events_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/issues/events{/number}","events_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/events","assignees_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/assignees{/user}","branches_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/branches{/branch}","tags_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/tags","blobs_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/git/refs{/sha}","trees_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/statuses/{sha}","languages_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/languages","stargazers_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/stargazers","contributors_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/contributors","subscribers_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/subscribers","subscription_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/subscription","commits_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/commits{/sha}","git_commits_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/git/commits{/sha}","comments_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/comments{/number}","issue_comment_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/issues/comments{/number}","contents_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/contents/{+path}","compare_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/merges","archive_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/downloads","issues_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/issues{/number}","pulls_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/pulls{/number}","milestones_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/milestones{/number}","notifications_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/labels{/name}","releases_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/releases{/id}","created_at":"2015-03-16T04:43:02Z","updated_at":"2015-03-17T23:23:07Z","pushed_at":"2015-03-21T04:18:09Z","git_url":"git://github.com/is210-2015-spring-01/is210-week-08-warmup.git","ssh_url":"git@github.com:is210-2015-spring-01/is210-week-08-warmup.git","clone_url":"https://github.com/is210-2015-spring-01/is210-week-08-warmup.git","svn_url":"https://github.com/is210-2015-spring-01/is210-week-08-warmup","homepage":null,"size":658,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":10,"forks":14,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/pulls/5"},"html":{"href":"https://github.com/is210-2015-spring-01/is210-week-08-warmup/pull/5"},"issue":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/issues/5"},"comments":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-08-warmup/statuses/148464b2e41791121c0fa8770b4b3c3eb2383450"}}}}