import refrase = "O rato roeu a roupa\n Do rei de Roma"nova_frase = re.sub(r"\s", "", frase)print(nova_frase) # 'OratoroeuaroupaDoreideRoma'
Standard input is empty
OratoroeuaroupaDoreideRoma
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!