Race Updates Discord About Merch
Home Profile History Competitions Texts Upgrade

typeracer

Pit Stop
Racer MauroCondoriDiaz (maurocd)
Race Number 2
Date Mon, 31 Mar 2025 1:23:43
Universe code
Speed 24 WPM Try to beat?
Accuracy 93.6%
Rank 2nd place (out of 6)
Opponents jhosmar_mamani_cayo (1st place) luis_univ (3rd 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)

Typing Review: