{"action":"created","comment":{"url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/pulls/comments/191117260","pull_request_review_id":123629420,"id":191117260,"diff_hunk":"@@ -0,0 +1,10 @@\n+def capitalize(lower_case_word):\n+    words = lower_case_word.split(' ')\n+    new_sentence = ''\n+    for word in words:\n+        new_sentence += chr(ord(word[0]) - 32) + word[1:] + ' '","path":"students/stachowska_agata/lesson_06_dicts_tuples_sets_args_kwargs/uppercase.py","position":5,"original_position":5,"commit_id":"be5eb19063e530661b0d3e03a846af51ff734626","original_commit_id":"be5eb19063e530661b0d3e03a846af51ff734626","user":{"login":"kamwar","id":8876350,"avatar_url":"https://avatars2.githubusercontent.com/u/8876350?v=4","gravatar_id":"","url":"https://api.github.com/users/kamwar","html_url":"https://github.com/kamwar","followers_url":"https://api.github.com/users/kamwar/followers","following_url":"https://api.github.com/users/kamwar/following{/other_user}","gists_url":"https://api.github.com/users/kamwar/gists{/gist_id}","starred_url":"https://api.github.com/users/kamwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamwar/subscriptions","organizations_url":"https://api.github.com/users/kamwar/orgs","repos_url":"https://api.github.com/users/kamwar/repos","events_url":"https://api.github.com/users/kamwar/events{/privacy}","received_events_url":"https://api.github.com/users/kamwar/received_events","type":"User","site_admin":false},"body":"There is dedicated function for it\r\nword.title()\r\nor\r\nword[0].upper() + word[1:]\r\n\r\nYou might also consider to create a list and then join the elements\r\n```\r\nnew_sentence = []\r\n for word in words:\r\n    new_sentence.append(word.title())\r\nreturn \" \".join(new_sentence)","created_at":"2018-05-28T06:00:31Z","updated_at":"2018-05-28T06:00:31Z","html_url":"https://github.com/jedzej/tietopythontraining-basic/pull/480#discussion_r191117260","pull_request_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/pulls/480","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/jedzej/tietopythontraining-basic/pulls/comments/191117260"},"html":{"href":"https://github.com/jedzej/tietopythontraining-basic/pull/480#discussion_r191117260"},"pull_request":{"href":"https://api.github.com/repos/jedzej/tietopythontraining-basic/pulls/480"}}},"pull_request":{"url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/pulls/480","id":186464130,"html_url":"https://github.com/jedzej/tietopythontraining-basic/pull/480","diff_url":"https://github.com/jedzej/tietopythontraining-basic/pull/480.diff","patch_url":"https://github.com/jedzej/tietopythontraining-basic/pull/480.patch","issue_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/issues/480","number":480,"state":"open","locked":false,"title":"added lesson 06","user":{"login":"agatastachowska","id":36474228,"avatar_url":"https://avatars1.githubusercontent.com/u/36474228?v=4","gravatar_id":"","url":"https://api.github.com/users/agatastachowska","html_url":"https://github.com/agatastachowska","followers_url":"https://api.github.com/users/agatastachowska/followers","following_url":"https://api.github.com/users/agatastachowska/following{/other_user}","gists_url":"https://api.github.com/users/agatastachowska/gists{/gist_id}","starred_url":"https://api.github.com/users/agatastachowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agatastachowska/subscriptions","organizations_url":"https://api.github.com/users/agatastachowska/orgs","repos_url":"https://api.github.com/users/agatastachowska/repos","events_url":"https://api.github.com/users/agatastachowska/events{/privacy}","received_events_url":"https://api.github.com/users/agatastachowska/received_events","type":"User","site_admin":false},"body":"@kamwar  lesson06 ready to check ","created_at":"2018-05-07T21:03:54Z","updated_at":"2018-05-28T06:00:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07a8a03e28535e1ea7516661c31da6f10f290c3a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/pulls/480/commits","review_comments_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/pulls/480/comments","review_comment_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/issues/480/comments","statuses_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/statuses/be5eb19063e530661b0d3e03a846af51ff734626","head":{"label":"agatastachowska:kamwar/lesson_06","ref":"kamwar/lesson_06","sha":"be5eb19063e530661b0d3e03a846af51ff734626","user":{"login":"agatastachowska","id":36474228,"avatar_url":"https://avatars1.githubusercontent.com/u/36474228?v=4","gravatar_id":"","url":"https://api.github.com/users/agatastachowska","html_url":"https://github.com/agatastachowska","followers_url":"https://api.github.com/users/agatastachowska/followers","following_url":"https://api.github.com/users/agatastachowska/following{/other_user}","gists_url":"https://api.github.com/users/agatastachowska/gists{/gist_id}","starred_url":"https://api.github.com/users/agatastachowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agatastachowska/subscriptions","organizations_url":"https://api.github.com/users/agatastachowska/orgs","repos_url":"https://api.github.com/users/agatastachowska/repos","events_url":"https://api.github.com/users/agatastachowska/events{/privacy}","received_events_url":"https://api.github.com/users/agatastachowska/received_events","type":"User","site_admin":false},"repo":{"id":121498772,"name":"tietopythontraining-basic","full_name":"agatastachowska/tietopythontraining-basic","owner":{"login":"agatastachowska","id":36474228,"avatar_url":"https://avatars1.githubusercontent.com/u/36474228?v=4","gravatar_id":"","url":"https://api.github.com/users/agatastachowska","html_url":"https://github.com/agatastachowska","followers_url":"https://api.github.com/users/agatastachowska/followers","following_url":"https://api.github.com/users/agatastachowska/following{/other_user}","gists_url":"https://api.github.com/users/agatastachowska/gists{/gist_id}","starred_url":"https://api.github.com/users/agatastachowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agatastachowska/subscriptions","organizations_url":"https://api.github.com/users/agatastachowska/orgs","repos_url":"https://api.github.com/users/agatastachowska/repos","events_url":"https://api.github.com/users/agatastachowska/events{/privacy}","received_events_url":"https://api.github.com/users/agatastachowska/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agatastachowska/tietopythontraining-basic","description":null,"fork":true,"url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic","forks_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/forks","keys_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/teams","hooks_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/hooks","issue_events_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/issues/events{/number}","events_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/events","assignees_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/assignees{/user}","branches_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/branches{/branch}","tags_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/tags","blobs_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/git/refs{/sha}","trees_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/statuses/{sha}","languages_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/languages","stargazers_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/stargazers","contributors_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/contributors","subscribers_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/subscribers","subscription_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/subscription","commits_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/commits{/sha}","git_commits_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/git/commits{/sha}","comments_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/comments{/number}","issue_comment_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/issues/comments{/number}","contents_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/contents/{+path}","compare_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/merges","archive_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/downloads","issues_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/issues{/number}","pulls_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/pulls{/number}","milestones_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/milestones{/number}","notifications_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/labels{/name}","releases_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/releases{/id}","deployments_url":"https://api.github.com/repos/agatastachowska/tietopythontraining-basic/deployments","created_at":"2018-02-14T10:36:25Z","updated_at":"2018-02-14T10:36:27Z","pushed_at":"2018-05-07T21:07:07Z","git_url":"git://github.com/agatastachowska/tietopythontraining-basic.git","ssh_url":"git@github.com:agatastachowska/tietopythontraining-basic.git","clone_url":"https://github.com/agatastachowska/tietopythontraining-basic.git","svn_url":"https://github.com/agatastachowska/tietopythontraining-basic","homepage":null,"size":10236,"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":"jedzej:master","ref":"master","sha":"cccdf9c6b499ff4f3a212df3e52f17c584e597d6","user":{"login":"jedzej","id":57070,"avatar_url":"https://avatars0.githubusercontent.com/u/57070?v=4","gravatar_id":"","url":"https://api.github.com/users/jedzej","html_url":"https://github.com/jedzej","followers_url":"https://api.github.com/users/jedzej/followers","following_url":"https://api.github.com/users/jedzej/following{/other_user}","gists_url":"https://api.github.com/users/jedzej/gists{/gist_id}","starred_url":"https://api.github.com/users/jedzej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedzej/subscriptions","organizations_url":"https://api.github.com/users/jedzej/orgs","repos_url":"https://api.github.com/users/jedzej/repos","events_url":"https://api.github.com/users/jedzej/events{/privacy}","received_events_url":"https://api.github.com/users/jedzej/received_events","type":"User","site_admin":false},"repo":{"id":118122178,"name":"tietopythontraining-basic","full_name":"jedzej/tietopythontraining-basic","owner":{"login":"jedzej","id":57070,"avatar_url":"https://avatars0.githubusercontent.com/u/57070?v=4","gravatar_id":"","url":"https://api.github.com/users/jedzej","html_url":"https://github.com/jedzej","followers_url":"https://api.github.com/users/jedzej/followers","following_url":"https://api.github.com/users/jedzej/following{/other_user}","gists_url":"https://api.github.com/users/jedzej/gists{/gist_id}","starred_url":"https://api.github.com/users/jedzej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedzej/subscriptions","organizations_url":"https://api.github.com/users/jedzej/orgs","repos_url":"https://api.github.com/users/jedzej/repos","events_url":"https://api.github.com/users/jedzej/events{/privacy}","received_events_url":"https://api.github.com/users/jedzej/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jedzej/tietopythontraining-basic","description":null,"fork":false,"url":"https://api.github.com/repos/jedzej/tietopythontraining-basic","forks_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/forks","keys_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/teams","hooks_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/hooks","issue_events_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/issues/events{/number}","events_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/events","assignees_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/assignees{/user}","branches_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/branches{/branch}","tags_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/tags","blobs_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/git/refs{/sha}","trees_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/statuses/{sha}","languages_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/languages","stargazers_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/stargazers","contributors_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/contributors","subscribers_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/subscribers","subscription_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/subscription","commits_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/commits{/sha}","git_commits_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/git/commits{/sha}","comments_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/comments{/number}","issue_comment_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/issues/comments{/number}","contents_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/contents/{+path}","compare_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/merges","archive_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/downloads","issues_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/issues{/number}","pulls_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/pulls{/number}","milestones_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/milestones{/number}","notifications_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/labels{/name}","releases_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/releases{/id}","deployments_url":"https://api.github.com/repos/jedzej/tietopythontraining-basic/deployments","created_at":"2018-01-19T12:23:02Z","updated_at":"2018-05-27T19:59:23Z","pushed_at":"2018-05-27T22:25:31Z","git_url":"git://github.com/jedzej/tietopythontraining-basic.git","ssh_url":"git@github.com:jedzej/tietopythontraining-basic.git","clone_url":"https://github.com/jedzej/tietopythontraining-basic.git","svn_url":"https://github.com/jedzej/tietopythontraining-basic","homepage":null,"size":14100,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":79,"mirror_url":null,"archived":false,"open_issues_count":72,"license":null,"forks":79,"open_issues":72,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jedzej/tietopythontraining-basic/pulls/480"},"html":{"href":"https://github.com/jedzej/tietopythontraining-basic/pull/480"},"issue":{"href":"https://api.github.com/repos/jedzej/tietopythontraining-basic/issues/480"},"comments":{"href":"https://api.github.com/repos/jedzej/tietopythontraining-basic/issues/480/comments"},"review_comments":{"href":"https://api.github.com/repos/jedzej/tietopythontraining-basic/pulls/480/comments"},"review_comment":{"href":"https://api.github.com/repos/jedzej/tietopythontraining-basic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jedzej/tietopythontraining-basic/pulls/480/commits"},"statuses":{"href":"https://api.github.com/repos/jedzej/tietopythontraining-basic/statuses/be5eb19063e530661b0d3e03a846af51ff734626"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kamwar"}}