Add a space after a word if it's at the beginning of a string or if it's after one or more spaces, and at the same time it must be at end or before n
Add a space after a word if it's at the beginning of a string or if it's after one or more spaces, and at the same time it must be at end or before n Question: import re line = "treinta y un" #example 1 line = "veinti un " #example 2 line = "un" …