入力 s1 が 'Jack and Jill went up the hill' の場合、
出力 s2 は 'Jck nd Jll wnt p th hll'
Could you please stop translating existing Cody problems into Japanese? I might be too harsh on this, but you are ruining Cody in a way that the majority Cody players here cannot read Japanese. If you are teaching a MATLAB course in Japanese, I recommend you to start your course on Cody Coursework, where you can create your own problems in whatever languages you like.
FYI, Cody Coursework is here: https://www.mathworks.com/help/coursework/cody-coursework-for-instructors.html
Community is not limited to English-native people but widely open to people who mainly speak any languages. I create those problems since we had a request to have Japanese Cody questions. (This is a test phase yet, so please understand the situation.)
Currently, I add a tag for Japanese, but probably, we need a filtering feature like MATLAB Answers.
Everyone will have their own perspective, I'm sure. Personally I don't mind creation of non-English problems, because not everyone is (nor should be) fluent in English. Although I think it would be nice to have at least small differences to the existing problems. For example, if the original problem is to remove vowels, then you could create your own problem where the task is to instead remove consonants.
Sum all integers from 1 to 2^n
Remove the two elements next to NaN value
Celsius to Kelvin
Create an n-by-n null matrix and fill with ones certain positions
NaN (欠損値) が含まれている行を削除しよう
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office