← Back to Question List
Python Quiz #37
Stripping The Edges
The menu reads a choice with .strip() because the user may add spaces and the line ends in a newline. What does this program print?
📄 Code
1choice: str = " 3 \n".strip()2print("[" + choice + "]")