python input 28 29 strip 28 29

Solutions on MaxInterview for python input 28 29 strip 28 29 by the best coders in the world

showing results for - "python input 28 29 strip 28 29"
Sara
24 Feb 2020
1txt = "     banana     "
2x = txt.strip()
3print("of all fruits", x, "is my favorite")
4
5txt = ",,,,,rrttgg.....banana....rrr"
6x = txt.strip(",.grt")
7print(x)