Race Updates Discord About Merch
Home Profile History Competitions Texts Upgrade

typeracer

Pit Stop
Racer Carlos Mauricio Riverin Vasquez (mau_r_123)
Race Number 8
Date Mon, 16 Sep 2024 2:41:14
Universe code
Speed 25 WPM Try to beat?
Accuracy 95.9%
Rank 4th place (out of 13)
Opponents anethanelpalma (7th place) jos3ar (2nd place) jose_benito (8th place) karol_mm (3rd place) kazaam37 (6th 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: