{"action":"created","comment":{"url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/pulls/comments/227556526","pull_request_review_id":167626964,"id":227556526,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzU1NjUyNg==","diff_hunk":"@@ -0,0 +1,39 @@\n+print()\n+print(\"Welcome to the dungeon!\")\n+print(\"Do you go through door 1 or door 2?\")\n+\n+door = input(\"> \")\n+\n+if door == \"1\":\n+    print(\"There is a nice vampire asking you if you enjoy life.\")\n+    print(\"What do you do?\")\n+    print(\"1. Smile and nod\")\n+    print(\"2. Scream and run\")\n+\n+    vampire = input(\"> \")\n+\n+    if vampire == \"1\":\n+        print(\"Congratulations, you found a new friend!\")\n+    elif vampire == \"2\":\n+        print(\"Sorry, the vampire is faster. You become a dinner.\")\n+    else:\n+        print(\"You are not so good with numbers, are you?\")\n+\n+# New door option using the `elif` statement\n+elif door == \"2\":\n+    print(\"You found a room full of coffins.\")\n+    print(\"What do you do?\")\n+    print(\"1. Get through them to another door without touching anything.\")\n+    print(\"2. Explore the room, open a coffin.\")\n+\n+    coffin = input(\"> \")\n+\n+    if coffin == \"1\":\n+        print(\"Congratulations, you're still alive!\")\n+    elif coffin == \"2\":\n+        print(\"One of the vampires arrived and didn't like to see you messing\"\n+              \" his bed. You're not going to see the light again, sorry.\")","path":"tasks/adventure_solutions/task_1_if_else.py","position":35,"original_position":35,"commit_id":"5721363a7f0bbb70b24ddc0fd54f013802ecad10","original_commit_id":"5721363a7f0bbb70b24ddc0fd54f013802ecad10","user":{"login":"mei-li","id":1010264,"node_id":"MDQ6VXNlcjEwMTAyNjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1010264?v=4","gravatar_id":"","url":"https://api.github.com/users/mei-li","html_url":"https://github.com/mei-li","followers_url":"https://api.github.com/users/mei-li/followers","following_url":"https://api.github.com/users/mei-li/following{/other_user}","gists_url":"https://api.github.com/users/mei-li/gists{/gist_id}","starred_url":"https://api.github.com/users/mei-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mei-li/subscriptions","organizations_url":"https://api.github.com/users/mei-li/orgs","repos_url":"https://api.github.com/users/mei-li/repos","events_url":"https://api.github.com/users/mei-li/events{/privacy}","received_events_url":"https://api.github.com/users/mei-li/received_events","type":"User","site_admin":false},"body":"Why not `her` bed?","created_at":"2018-10-23T20:42:51Z","updated_at":"2018-10-23T20:42:51Z","html_url":"https://github.com/PyLadiesBerlin/python-beginners-workshop/pull/17#discussion_r227556526","pull_request_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/pulls/17","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/pulls/comments/227556526"},"html":{"href":"https://github.com/PyLadiesBerlin/python-beginners-workshop/pull/17#discussion_r227556526"},"pull_request":{"href":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/pulls/17","id":225049036,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MDQ5MDM2","html_url":"https://github.com/PyLadiesBerlin/python-beginners-workshop/pull/17","diff_url":"https://github.com/PyLadiesBerlin/python-beginners-workshop/pull/17.diff","patch_url":"https://github.com/PyLadiesBerlin/python-beginners-workshop/pull/17.patch","issue_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/issues/17","number":17,"state":"open","locked":false,"title":"[WIP] Tasks solutions","user":{"login":"katyanna","id":1137200,"node_id":"MDQ6VXNlcjExMzcyMDA=","avatar_url":"https://avatars0.githubusercontent.com/u/1137200?v=4","gravatar_id":"","url":"https://api.github.com/users/katyanna","html_url":"https://github.com/katyanna","followers_url":"https://api.github.com/users/katyanna/followers","following_url":"https://api.github.com/users/katyanna/following{/other_user}","gists_url":"https://api.github.com/users/katyanna/gists{/gist_id}","starred_url":"https://api.github.com/users/katyanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katyanna/subscriptions","organizations_url":"https://api.github.com/users/katyanna/orgs","repos_url":"https://api.github.com/users/katyanna/repos","events_url":"https://api.github.com/users/katyanna/events{/privacy}","received_events_url":"https://api.github.com/users/katyanna/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-23T13:55:39Z","updated_at":"2018-10-23T20:42:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e73fa1727f8a778eb2302ed84ede70f3a5bb32e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/pulls/17/commits","review_comments_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/pulls/17/comments","review_comment_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/issues/17/comments","statuses_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/statuses/5721363a7f0bbb70b24ddc0fd54f013802ecad10","head":{"label":"PyLadiesBerlin:tasks-solutions","ref":"tasks-solutions","sha":"5721363a7f0bbb70b24ddc0fd54f013802ecad10","user":{"login":"PyLadiesBerlin","id":6180453,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxODA0NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/6180453?v=4","gravatar_id":"","url":"https://api.github.com/users/PyLadiesBerlin","html_url":"https://github.com/PyLadiesBerlin","followers_url":"https://api.github.com/users/PyLadiesBerlin/followers","following_url":"https://api.github.com/users/PyLadiesBerlin/following{/other_user}","gists_url":"https://api.github.com/users/PyLadiesBerlin/gists{/gist_id}","starred_url":"https://api.github.com/users/PyLadiesBerlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyLadiesBerlin/subscriptions","organizations_url":"https://api.github.com/users/PyLadiesBerlin/orgs","repos_url":"https://api.github.com/users/PyLadiesBerlin/repos","events_url":"https://api.github.com/users/PyLadiesBerlin/events{/privacy}","received_events_url":"https://api.github.com/users/PyLadiesBerlin/received_events","type":"Organization","site_admin":false},"repo":{"id":149511626,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk1MTE2MjY=","name":"python-beginners-workshop","full_name":"PyLadiesBerlin/python-beginners-workshop","private":false,"owner":{"login":"PyLadiesBerlin","id":6180453,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxODA0NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/6180453?v=4","gravatar_id":"","url":"https://api.github.com/users/PyLadiesBerlin","html_url":"https://github.com/PyLadiesBerlin","followers_url":"https://api.github.com/users/PyLadiesBerlin/followers","following_url":"https://api.github.com/users/PyLadiesBerlin/following{/other_user}","gists_url":"https://api.github.com/users/PyLadiesBerlin/gists{/gist_id}","starred_url":"https://api.github.com/users/PyLadiesBerlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyLadiesBerlin/subscriptions","organizations_url":"https://api.github.com/users/PyLadiesBerlin/orgs","repos_url":"https://api.github.com/users/PyLadiesBerlin/repos","events_url":"https://api.github.com/users/PyLadiesBerlin/events{/privacy}","received_events_url":"https://api.github.com/users/PyLadiesBerlin/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/PyLadiesBerlin/python-beginners-workshop","description":"Covers basic python concepts with presentation and tasks to create a small adventure game","fork":false,"url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop","forks_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/forks","keys_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/teams","hooks_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/hooks","issue_events_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/issues/events{/number}","events_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/events","assignees_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/assignees{/user}","branches_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/branches{/branch}","tags_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/tags","blobs_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/git/refs{/sha}","trees_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/statuses/{sha}","languages_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/languages","stargazers_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/stargazers","contributors_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/contributors","subscribers_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/subscribers","subscription_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/subscription","commits_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/commits{/sha}","git_commits_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/git/commits{/sha}","comments_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/comments{/number}","issue_comment_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/issues/comments{/number}","contents_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/contents/{+path}","compare_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/merges","archive_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/downloads","issues_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/issues{/number}","pulls_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/pulls{/number}","milestones_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/milestones{/number}","notifications_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/labels{/name}","releases_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/releases{/id}","deployments_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/deployments","created_at":"2018-09-19T21:00:05Z","updated_at":"2018-10-23T14:20:06Z","pushed_at":"2018-10-23T16:55:08Z","git_url":"git://github.com/PyLadiesBerlin/python-beginners-workshop.git","ssh_url":"git@github.com:PyLadiesBerlin/python-beginners-workshop.git","clone_url":"https://github.com/PyLadiesBerlin/python-beginners-workshop.git","svn_url":"https://github.com/PyLadiesBerlin/python-beginners-workshop","homepage":null,"size":8026,"stargazers_count":3,"watchers_count":3,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":2,"open_issues":3,"watchers":3,"default_branch":"master"}},"base":{"label":"PyLadiesBerlin:master","ref":"master","sha":"124f231ab10f87a65c4dd685b941ad50d09cc305","user":{"login":"PyLadiesBerlin","id":6180453,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxODA0NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/6180453?v=4","gravatar_id":"","url":"https://api.github.com/users/PyLadiesBerlin","html_url":"https://github.com/PyLadiesBerlin","followers_url":"https://api.github.com/users/PyLadiesBerlin/followers","following_url":"https://api.github.com/users/PyLadiesBerlin/following{/other_user}","gists_url":"https://api.github.com/users/PyLadiesBerlin/gists{/gist_id}","starred_url":"https://api.github.com/users/PyLadiesBerlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyLadiesBerlin/subscriptions","organizations_url":"https://api.github.com/users/PyLadiesBerlin/orgs","repos_url":"https://api.github.com/users/PyLadiesBerlin/repos","events_url":"https://api.github.com/users/PyLadiesBerlin/events{/privacy}","received_events_url":"https://api.github.com/users/PyLadiesBerlin/received_events","type":"Organization","site_admin":false},"repo":{"id":149511626,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk1MTE2MjY=","name":"python-beginners-workshop","full_name":"PyLadiesBerlin/python-beginners-workshop","private":false,"owner":{"login":"PyLadiesBerlin","id":6180453,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxODA0NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/6180453?v=4","gravatar_id":"","url":"https://api.github.com/users/PyLadiesBerlin","html_url":"https://github.com/PyLadiesBerlin","followers_url":"https://api.github.com/users/PyLadiesBerlin/followers","following_url":"https://api.github.com/users/PyLadiesBerlin/following{/other_user}","gists_url":"https://api.github.com/users/PyLadiesBerlin/gists{/gist_id}","starred_url":"https://api.github.com/users/PyLadiesBerlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyLadiesBerlin/subscriptions","organizations_url":"https://api.github.com/users/PyLadiesBerlin/orgs","repos_url":"https://api.github.com/users/PyLadiesBerlin/repos","events_url":"https://api.github.com/users/PyLadiesBerlin/events{/privacy}","received_events_url":"https://api.github.com/users/PyLadiesBerlin/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/PyLadiesBerlin/python-beginners-workshop","description":"Covers basic python concepts with presentation and tasks to create a small adventure game","fork":false,"url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop","forks_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/forks","keys_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/teams","hooks_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/hooks","issue_events_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/issues/events{/number}","events_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/events","assignees_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/assignees{/user}","branches_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/branches{/branch}","tags_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/tags","blobs_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/git/refs{/sha}","trees_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/statuses/{sha}","languages_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/languages","stargazers_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/stargazers","contributors_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/contributors","subscribers_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/subscribers","subscription_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/subscription","commits_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/commits{/sha}","git_commits_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/git/commits{/sha}","comments_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/comments{/number}","issue_comment_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/issues/comments{/number}","contents_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/contents/{+path}","compare_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/merges","archive_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/downloads","issues_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/issues{/number}","pulls_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/pulls{/number}","milestones_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/milestones{/number}","notifications_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/labels{/name}","releases_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/releases{/id}","deployments_url":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/deployments","created_at":"2018-09-19T21:00:05Z","updated_at":"2018-10-23T14:20:06Z","pushed_at":"2018-10-23T16:55:08Z","git_url":"git://github.com/PyLadiesBerlin/python-beginners-workshop.git","ssh_url":"git@github.com:PyLadiesBerlin/python-beginners-workshop.git","clone_url":"https://github.com/PyLadiesBerlin/python-beginners-workshop.git","svn_url":"https://github.com/PyLadiesBerlin/python-beginners-workshop","homepage":null,"size":8026,"stargazers_count":3,"watchers_count":3,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":2,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/pulls/17"},"html":{"href":"https://github.com/PyLadiesBerlin/python-beginners-workshop/pull/17"},"issue":{"href":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/issues/17"},"comments":{"href":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/PyLadiesBerlin/python-beginners-workshop/statuses/5721363a7f0bbb70b24ddc0fd54f013802ecad10"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"mei-li"}}