Race Updates Discord About Merch
Home Profile History Competitions Texts Upgrade

typeracer

Pit Stop
Racer IAnthropos (ianthropos)
Race Number 23
Date Thu, 29 Jun 2023 10:58:22
Universe code
Speed 27 WPM Try to beat?
Accuracy 89.3%
Rank 2nd place (out of 2)
Opponents justnoice (1st 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)
— (software) by Mark Pilgrim (see stats)

Typing Review: