Write A Program Using Sed Command In Python