Split a String at Uppercase Letters
Split a String at Uppercase Letters: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that splits strings at uppercase letter boundaries. The script should read input strings from a file, split each string before every occurrence of an uppercase letter, and write the results to…
The task
Write a Python script that splits strings at uppercase letter boundaries. The script should read input strings from a file, split each string before every occurrence of an uppercase letter, and write the results to an output file.
Part of PrimeIntellect/Terminal-Lego-15k.