3 ms·what happens if len(parts)==1 ? in this case pattern matching would have helpedby visarga 6y agowhat happens if len(parts)==1 ? in this case pattern matching would have helped