use strip() iso. slicing for removing \n