remove space in print python code example Example: python how to get rid of spaces in print print('\n{} you will be {} in ten years.'.format(name, ageinten))