Skip to content

Instantly share code, notes, and snippets.

View avillaamil's full-sized avatar

Alessandra Villaamil avillaamil

View GitHub Profile
@avillaamil
avillaamil / RWET_assignment1
Created February 13, 2013 22:59
RWET first assignment.
import sys
for line in sys.stdin:
line = line.strip()
line = line.replace("swagger", " currency-counting machines ")
line = line.replace(" flies ", " sails ")
line = line.replace(" black flag", " Maritime Security Patrol Area ")
line = line.replace("On a", "On his")
line = line.replace(" whalebone ", " exploited marine stock's ")
line = line.replace(" staff.", " behalf")
line = line.replace(" eye", " Kalashnikov ")