Race Updates Discord About Merch
Home Profile History Competitions Texts Upgrade

typeracer

Pit Stop
Racer Jhosmar (jhosmarmamani)
Race Number 7
Date Tue, 20 May 2025 22:23:51
Universe code
Speed 41 WPM Try to beat?
Accuracy 95.5%
Rank 1st place (out of 16)
Opponents alvaro__ (6th place) erick0334 (2nd place) fa1progra (4th place) luis_univ (5th place) noelelias (7th 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: