+ 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.

11th Jan 2019, 6:19 PM
Justin P Mathew
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?
11th Jan 2019, 6:40 PM
HonFu
HonFu - avatar