{"action":"created","comment":{"url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/pulls/comments/57732119","id":57732119,"diff_hunk":"@@ -0,0 +1,212 @@\n+# Strings\n+\n+Strings are a common data type which primary usage is to allow us to write and read text. We don't say that it's the **only** usage because, as we'll see in other sections, Strings can also be used to read binary data, which turns out to have many applications: reading mp3 files, encoding video, handling PDFs, etc.\n+\n+In this particular section we'll focus solely in Strings as a Data Type to handle text. In the following sections we'll expand on more advanced topics and usages.\n+\n+## String literals\n+\n+String literals can be created using either single quotes (`'`) or double quotes (`\"`). Examples:\n+\n+```python\n+a_string = \"Hello World\"\n+other = 'Bye world!'\n+```\n+\n+To create multiline strings you can either use triple quotes (`\"\"\"`, `'''`) or use parentheses to separate your strings. If you use triple quotes all the new lines and spaces will be preserved:\n+\n+```python\n+doc = \"\"\"learn to code with a real teacher\n+         and real classmates.\n+\"\"\"\n+print(doc)  # Result below. Note spaces.\n+# learn to code with a real teacher\n+#          and real classmates.\n+\n+doc = (\"learn to code with a real teacher\"\n+       \"and real classmates\")\n+print(doc) # Result below. Note how the words 'teacher' and 'and' joint\n+# learn to code with a real teacherand real classmates\n+```\n+\n+## Strings as sequences\n+\n+Strings are basically sequences (you can think of them as lists) of characters. As any other sequence in Python strings can be indexed:\n+\n+```python\n+doc = \"rmotr.com group work is awesome!\"\n+\n+# Basics\n+print(doc[0:9])  # rmotr.com\n+doc[]\n+\n+# First index\n+print(doc[:9])  # rmotr.com | first index can be omitted, 0 by default\n+\n+# Last index\n+print(doc[24:32])  # awesome!\n+print(doc[24:len(doc)])  # same as before, computing the last index dynamically\n+print(doc[24:])  # same as before, last index can be omitted, 0 by default\n+\n+# Step\n+print(doc[:10:2])  # rorcm | Get chars every 2 steps.\n+print(doc[:9:-1])  # !emosewa si krow puorg | Reversed!\n+```\n+\n+And you can also iterate through them:\n+\n+```python\n+for ch in \"hello world\":\n+  print(ch)\n+```\n+\n+## Immutability\n+\n+Strings in Python are immutable. That means you won't be able to modify them, and once they're generated, they'll unchanged until the program finishes. Immutability is a really valuable feature of Python strings, as we'll be able to handle them safetely without worrying about unintended modifications:\n+\n+```python\n+a = \"rmotr.com\"\n+b = a\n+\n+a = a + \" | remote programming courses\"\n+print(a)  # rmotr.com | remote programming courses\n+print(b)  # rmotr.com  <-- Unchanged!\n+```\n+\n+## Escape sequences\n+\n+You can use escape sequences to produce special characters as new lines or tabs. Examples:\n+\n+```python\n+role = 'I\\'m a mentor at rmotr.com'  # Escaping quotes\n+role = \"I\\\"m a mentor at rmotr.com\"  # Escaping quotes\n+\n+# New line (\\n)\n+doc = \"rmotr.com\\n\\nLearn to code with a real teacher\\nAnd classmates!\"  # result below\n+# rmotr.com\n+#\n+# Learn to code with a real teacher\n+# And classmates!\n+\n+# Tabs (\\t)\n+about_python = \"Python is:\\n\\t* Awesome\\n\\t* Fun\\n\\t* Convenient\"\n+# Python is:\n+#         * Awesome\n+#         * Fun\n+#         * Convenient\n+\n+```\n+\n+Writing strings that need to expand through several lines is easier with the use of triple quotes. Same examples as before:\n+\n+```python\n+doc = \"\"\"rmotr.com\n+\n+Learn to code with a real teacher\n+And classmates!\n+\"\"\"\n+about_python = \"\"\"Python is:\n+        * Awesome\n+        * Fun\n+        *Convenient\n+\"\"\"\n+```\n+\n+See all the allowed escape sequences on Python documentation ([Python 2](https://docs.python.org/2/reference/lexical_analysis.html#string-literals), [Python 3](https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals)).\n+\n+## Raw strings\n+\n+Sometimes we **don't** want to treat strings as escape sequences. For example, when we deal with Regular Expressions, we want the backslash to be treated as a regular character, and not as an escape sequence. To do that we need to prepend the letter _'R'_ (or _'r'_) to our strings:\n+\n+```python\n+import re\n+\n+info1 = \"Class starts at 9PM\"\n+info2 = \"Class starts at 12AM\"\n+regex = r\"Class starts at (\\d+)(AM|PM)\"\n+\n+re.search(regex, info1)  # ('9', 'PM')\n+re.search(regex, info2)  # ('12', 'AM')\n+```\n+\n+In our previous example, the character sequence `\\d+` **was not** escaped.\n+\n+## Unicode and binaries\n+\n+Unicode string handling is one of the most noticeable differences between Python 2 and Python 3. There's an entire lesson devoted to it, but we can introduce them here. Basically, depending on version that you're working on, you'll prepend different letters to get either a unicode string or a \"bytes\" string. Summary:\n+\n+Platform | Prepend | You obtain | Example\n+---------| ------- | ---------- | ---------\n+Python 2 | `u`     | Unicode    | `u'Unicode String'`\n+Python 3 | `b`     | Bytes      | `b'Bytes String'`\n+\n+## String methods and operation\n+\n+There are [several methods](https://docs.python.org/2/library/stdtypes.html#string-methods) to work with Strings. Here are a few examples:\n+\n+```python\n+# Concatenating strings\n+print(\"Hello\" + \" \" + \"World\")  # Hello World\n+\n+print(\"hello world\".title())  # Hello World\n+print(\"hello world\".capitalize())  # Hello world\n+print(\"    hello world\".strip())  # hello world\n+print(\"hello world\".endswith('rld'))  # True\n+```\n+\n+We recommend you to read the official Python documentation, there are lots of method to use: [Python 2](https://docs.python.org/2/library/stdtypes.html#string-methods), [Python 3](https://docs.python.org/3/library/stdtypes.html#string-methods).","path":"unit-2-data-types/lesson-3-strings/README.md","position":157,"original_position":157,"commit_id":"37cc2066ede7839755eade06427111f91e7fb5d8","original_commit_id":"37cc2066ede7839755eade06427111f91e7fb5d8","user":{"login":"Soledadb","id":17830979,"avatar_url":"https://avatars.githubusercontent.com/u/17830979?v=3","gravatar_id":"","url":"https://api.github.com/users/Soledadb","html_url":"https://github.com/Soledadb","followers_url":"https://api.github.com/users/Soledadb/followers","following_url":"https://api.github.com/users/Soledadb/following{/other_user}","gists_url":"https://api.github.com/users/Soledadb/gists{/gist_id}","starred_url":"https://api.github.com/users/Soledadb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soledadb/subscriptions","organizations_url":"https://api.github.com/users/Soledadb/orgs","repos_url":"https://api.github.com/users/Soledadb/repos","events_url":"https://api.github.com/users/Soledadb/events{/privacy}","received_events_url":"https://api.github.com/users/Soledadb/received_events","type":"User","site_admin":false},"body":"methods","created_at":"2016-03-29T14:26:50Z","updated_at":"2016-03-29T14:26:50Z","html_url":"https://github.com/rmotr-curriculum/advanced-python-programming/pull/12#discussion_r57732119","pull_request_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/pulls/comments/57732119"},"html":{"href":"https://github.com/rmotr-curriculum/advanced-python-programming/pull/12#discussion_r57732119"},"pull_request":{"href":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/pulls/12","id":64275611,"html_url":"https://github.com/rmotr-curriculum/advanced-python-programming/pull/12","diff_url":"https://github.com/rmotr-curriculum/advanced-python-programming/pull/12.diff","patch_url":"https://github.com/rmotr-curriculum/advanced-python-programming/pull/12.patch","issue_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/issues/12","number":12,"state":"open","locked":false,"title":"Unit 2, lesson 3 - Strings","user":{"login":"santiagobasulto","id":872296,"avatar_url":"https://avatars.githubusercontent.com/u/872296?v=3","gravatar_id":"","url":"https://api.github.com/users/santiagobasulto","html_url":"https://github.com/santiagobasulto","followers_url":"https://api.github.com/users/santiagobasulto/followers","following_url":"https://api.github.com/users/santiagobasulto/following{/other_user}","gists_url":"https://api.github.com/users/santiagobasulto/gists{/gist_id}","starred_url":"https://api.github.com/users/santiagobasulto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santiagobasulto/subscriptions","organizations_url":"https://api.github.com/users/santiagobasulto/orgs","repos_url":"https://api.github.com/users/santiagobasulto/repos","events_url":"https://api.github.com/users/santiagobasulto/events{/privacy}","received_events_url":"https://api.github.com/users/santiagobasulto/received_events","type":"User","site_admin":false},"body":"658 words.","created_at":"2016-03-27T21:13:56Z","updated_at":"2016-03-29T14:26:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ff722c2753ae0e56d9baa2eadafe105464444a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/pulls/12/commits","review_comments_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/pulls/12/comments","review_comment_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/issues/12/comments","statuses_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/statuses/37cc2066ede7839755eade06427111f91e7fb5d8","head":{"label":"rmotr-curriculum:unit-2-lesson-3","ref":"unit-2-lesson-3","sha":"37cc2066ede7839755eade06427111f91e7fb5d8","user":{"login":"rmotr-curriculum","id":16686953,"avatar_url":"https://avatars.githubusercontent.com/u/16686953?v=3","gravatar_id":"","url":"https://api.github.com/users/rmotr-curriculum","html_url":"https://github.com/rmotr-curriculum","followers_url":"https://api.github.com/users/rmotr-curriculum/followers","following_url":"https://api.github.com/users/rmotr-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/rmotr-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/rmotr-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmotr-curriculum/subscriptions","organizations_url":"https://api.github.com/users/rmotr-curriculum/orgs","repos_url":"https://api.github.com/users/rmotr-curriculum/repos","events_url":"https://api.github.com/users/rmotr-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/rmotr-curriculum/received_events","type":"Organization","site_admin":false},"repo":{"id":49580558,"name":"advanced-python-programming","full_name":"rmotr-curriculum/advanced-python-programming","owner":{"login":"rmotr-curriculum","id":16686953,"avatar_url":"https://avatars.githubusercontent.com/u/16686953?v=3","gravatar_id":"","url":"https://api.github.com/users/rmotr-curriculum","html_url":"https://github.com/rmotr-curriculum","followers_url":"https://api.github.com/users/rmotr-curriculum/followers","following_url":"https://api.github.com/users/rmotr-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/rmotr-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/rmotr-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmotr-curriculum/subscriptions","organizations_url":"https://api.github.com/users/rmotr-curriculum/orgs","repos_url":"https://api.github.com/users/rmotr-curriculum/repos","events_url":"https://api.github.com/users/rmotr-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/rmotr-curriculum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rmotr-curriculum/advanced-python-programming","description":"Advanced Python Programming","fork":false,"url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming","forks_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/forks","keys_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/teams","hooks_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/hooks","issue_events_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/issues/events{/number}","events_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/events","assignees_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/assignees{/user}","branches_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/branches{/branch}","tags_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/tags","blobs_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/statuses/{sha}","languages_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/languages","stargazers_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/stargazers","contributors_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/contributors","subscribers_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/subscribers","subscription_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/subscription","commits_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/issues/comments{/number}","contents_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/contents/{+path}","compare_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/merges","archive_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/downloads","issues_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/issues{/number}","pulls_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/pulls{/number}","milestones_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/milestones{/number}","notifications_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/labels{/name}","releases_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/releases{/id}","deployments_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/deployments","created_at":"2016-01-13T14:56:48Z","updated_at":"2016-03-11T22:34:38Z","pushed_at":"2016-03-27T21:13:57Z","git_url":"git://github.com/rmotr-curriculum/advanced-python-programming.git","ssh_url":"git@github.com:rmotr-curriculum/advanced-python-programming.git","clone_url":"https://github.com/rmotr-curriculum/advanced-python-programming.git","svn_url":"https://github.com/rmotr-curriculum/advanced-python-programming","homepage":null,"size":297,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"rmotr-curriculum:master","ref":"master","sha":"90baf3b916f95df12c42e5c92509c967d7165ce5","user":{"login":"rmotr-curriculum","id":16686953,"avatar_url":"https://avatars.githubusercontent.com/u/16686953?v=3","gravatar_id":"","url":"https://api.github.com/users/rmotr-curriculum","html_url":"https://github.com/rmotr-curriculum","followers_url":"https://api.github.com/users/rmotr-curriculum/followers","following_url":"https://api.github.com/users/rmotr-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/rmotr-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/rmotr-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmotr-curriculum/subscriptions","organizations_url":"https://api.github.com/users/rmotr-curriculum/orgs","repos_url":"https://api.github.com/users/rmotr-curriculum/repos","events_url":"https://api.github.com/users/rmotr-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/rmotr-curriculum/received_events","type":"Organization","site_admin":false},"repo":{"id":49580558,"name":"advanced-python-programming","full_name":"rmotr-curriculum/advanced-python-programming","owner":{"login":"rmotr-curriculum","id":16686953,"avatar_url":"https://avatars.githubusercontent.com/u/16686953?v=3","gravatar_id":"","url":"https://api.github.com/users/rmotr-curriculum","html_url":"https://github.com/rmotr-curriculum","followers_url":"https://api.github.com/users/rmotr-curriculum/followers","following_url":"https://api.github.com/users/rmotr-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/rmotr-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/rmotr-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmotr-curriculum/subscriptions","organizations_url":"https://api.github.com/users/rmotr-curriculum/orgs","repos_url":"https://api.github.com/users/rmotr-curriculum/repos","events_url":"https://api.github.com/users/rmotr-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/rmotr-curriculum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rmotr-curriculum/advanced-python-programming","description":"Advanced Python Programming","fork":false,"url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming","forks_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/forks","keys_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/teams","hooks_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/hooks","issue_events_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/issues/events{/number}","events_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/events","assignees_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/assignees{/user}","branches_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/branches{/branch}","tags_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/tags","blobs_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/statuses/{sha}","languages_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/languages","stargazers_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/stargazers","contributors_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/contributors","subscribers_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/subscribers","subscription_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/subscription","commits_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/issues/comments{/number}","contents_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/contents/{+path}","compare_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/merges","archive_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/downloads","issues_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/issues{/number}","pulls_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/pulls{/number}","milestones_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/milestones{/number}","notifications_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/labels{/name}","releases_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/releases{/id}","deployments_url":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/deployments","created_at":"2016-01-13T14:56:48Z","updated_at":"2016-03-11T22:34:38Z","pushed_at":"2016-03-27T21:13:57Z","git_url":"git://github.com/rmotr-curriculum/advanced-python-programming.git","ssh_url":"git@github.com:rmotr-curriculum/advanced-python-programming.git","clone_url":"https://github.com/rmotr-curriculum/advanced-python-programming.git","svn_url":"https://github.com/rmotr-curriculum/advanced-python-programming","homepage":null,"size":297,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/pulls/12"},"html":{"href":"https://github.com/rmotr-curriculum/advanced-python-programming/pull/12"},"issue":{"href":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/issues/12"},"comments":{"href":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/rmotr-curriculum/advanced-python-programming/statuses/37cc2066ede7839755eade06427111f91e7fb5d8"}}}}