Read 2 file names from the console.
The first file contains text.
Read the contents of the first file, and remove all punctuation marks, including newline characters. Then output the result to the second file.
Close the streams.
Punctuation
- 12
Locked
Comments (5)
- Popular
- New
- Old
You must be signed in to leave a comment
Angus McDonald
30 May 2020, 16:19
This is a really poorly worded task I feel.
Punctuation marks = [!"\#$%&'()*+,\-./:;<=>?@\[\\\]^_‘{|}~]
However the task has us pass by removing other characters all together.
+1
Switch/Cypher
10 October 2020, 11:03
.
is what you want here. 0
BlueJavaBanana
30 May 2020, 14:20
PRO TIP
After 14 attempts I discover that you are not to class a space as a punctuation mark.
0
Oleksii Chernysh
3 December 2019, 16:52
Spent some time trying to understand the reason of validation timeout. It doesn't like
and works ok with ready()
Does anybody know why? +1
Roman
10 December 2019, 12:15
Testing features) It will be fixed soon, thanks.
+2