+ 1
How to get a multiple line input and halt on special character in python.
To get Multiple line input and stop when a special character is encountered.
1 Answer
+ 2
You can continually take input in a while loop and define a break condition for the case that a special character shows up in your input.
Wanna give it a try?