I need to convert only letters in the string to uppercase and tried this piece of code which throws an error.
s = "Dense-123-Sparse-999" std: