1# Copyright (c) 2019 Ujjwal Sharma <usharma1998@gmail>. All rights reserved. 2# Use of this source code is governed by an MIT-style license. 3 4def DoMain(args): 5 old = args.pop(0) 6 new = args.pop(0) 7 return ' '.join(a.replace(old, new) for a in args) 8