Frage im Vorstellungsgespräch bei Apple

remove spaces from a string in python (without using the remove function)