typeracer

Pit Stop
Guest
Sign In

Click here to create a new account

Create Your Account
Racer CptBBQ (it hurts to type) (cptbbq)
Race Number 3
Date Sun, 8 Oct 2017 00:58:02 +0000
Universe code
Speed 70 WPM Try to beat?
Accuracy 95.2%
Rank 1st place (out of 2)
Opponents aph0tic (2nd place)

Text typed:

class URLLister(SGMLParser): def reset(self): SGMLParser.reset(self) self.urls = [] def start_a(self, attrs): href = [v for k, v in attrs if k=='href'] if href: self.urls.extend(href)
Dive Into Python (software) by Mark Pilgrim (see stats)

Typing Review: