Implement shell_split(line) (like shlex.split, without using it) that splits a command line into arguments:
" and \ (other backslashes stay as-is)a"b c"d is one argument ab cd; "" is an empty argumentValueErrorUnlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.
Start 7-day free trial