CJCoding With Joseph
15free / daySign inCreate account
← Back to Question List

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics:
Python Quiz #37

Stripping The Edges

easyMenus & Validation

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 + "]")