Python Program Using Regular Expression