what code is needed to output an error if the user did not add any punctuation using import re pls | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

what code is needed to output an error if the user did not add any punctuation using import re pls

23rd Jan 2017, 7:13 AM
Abdi Elikwu computing
2 Answers
+ 1
Just throw a new exception!
22nd Jan 2017, 11:56 PM
Marcellino Chris O'vara
Marcellino Chris O'vara - avatar
- 1
Stop spam this question! You already have the answer!
23rd Jan 2017, 10:53 AM
Leshark
Leshark - avatar