Code Coach Average Word Length Swift | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Code Coach Average Word Length Swift

Hi, Swift seams really challenging. My solution is more a hack than beautiful 😣 How can I shorten the code? Is it not possible to round an integer? Or filter punctuation? https://code.sololearn.com/c7G0q0iMIld4/

30th May 2020, 7:17 AM
Manja
1 Answer
+ 1
You can try with regex.
30th May 2020, 8:06 AM
JaScript
JaScript - avatar