So I'm having trouble understanding what they want me to do. am I supposed to write r = request.get('http://placekitten.com') ## on line 4?I don't get the rest of it.r= kittens but what does it want me to do with text. Please help enlighten me.Thanks
Make a GET request here and assign the result to kittens:
kittens = [quote="cjudd42, post:1, topic:53399"]
what does it want me to do with text.[/quote]
Print it. Give the lesson text a good read and study the instructions closely.
I'm not getting it import requests
# Make a GET request here and assign the result to kittens:
kittens = [r=request.get('http://placekitten.com')]
I don't understand instructions so telling someone to study closer doesn't help.
kittens = request.get( ... )