Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 77f0403

Browse files
Merge pull request #14 from githubtraining/update-python-script
Update 10_create-python-file.md
2 parents 2132987 + cb45804 commit 77f0403

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

responses/10_create-python-file.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ If Python is a new programming language to you, like always don't worry. You are
4444
# Make an HTTP GET request to the cat-fact API
4545
cat_url = "https://cat-fact.herokuapp.com/facts"
4646
r = requests.get(cat_url)
47-
r_obj_list = r.json()["all"]
47+
r_obj_list = r.json()
4848

4949
# Create an empty list to store individual facts in
5050
# This will make it easy to select a random one later
@@ -74,4 +74,4 @@ If Python is a new programming language to you, like always don't worry. You are
7474

7575
---
7676

77-
I'll respond when you push changes to this pull request.
77+
I'll respond when you push changes to this pull request.

0 commit comments

Comments
 (0)