Race Result Details |
Racer | Sanjana D.S. (sanjanads) |
Race Number | 5 |
Date | Mon, 21 Apr 2025 13:03:08 |
Universe | code |
Speed |
34 WPM
![]() |
Accuracy | 97.1% |
Rank | 4th place (out of 26) |
Opponents | _hash (8th place) ahmed_saleel (14th place) ambadi_r (12th place) arduino_explorer (2nd place) dingan (10th place) dumbfukjuice (1st place) gaurismiju (5th place) goww (13th place) ikaris07 (7th place) kevinamd (6th place) sharoon_123 (11th place) terrarian01 (3rd place) vismey (9th place) |
Text typed:
import urllib2
import urllib
import json
url = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
query = raw_input("What do you want to search for ? >> ")
query = urllib.urlencode( {'q' : query } )
response = urllib2.urlopen (url + query ).read()
data = json.loads ( response )
results = data [ 'responseData' ] [ 'results' ]
for result in results:
title = result['title']
url = result['url']
print ( title + '; ' + url )
— (other)
by www.pythonforbeginners.com
(see stats)
|