update: slice exercises 21, 23, 24, 25, 26

This commit is contained in:
Inanc Gumus
2019-08-23 10:19:50 +03:00
parent cfc6f5fbfa
commit 435c08e800
7 changed files with 101 additions and 71 deletions

View File

@ -16,11 +16,14 @@ import (
// So, create a new slice and copy every words into it. Lastly,
// after each sentence, add a newline character ('\n').
//
// ORIGINAL SLICE:
// [yesterday all my troubles seemed so far away now it looks as though they are here to stay oh i believe in yesterday]
//
// EXPECTED SLICE (NEW):
// [yesterday all my troubles seemed so far \n away now it looks as though they are here to stay \n oh i believe in yesterday \n]
// ORIGINAL SLICE:
//
// [yesterday all my troubles seemed so far away now it looks as though they are here to stay oh i believe in yesterday]
//
// EXPECTED SLICE (NEW):
//
// [yesterday all my troubles seemed so far \n away now it looks as though they are here to stay \n oh i believe in yesterday \n]
//
//
// CURRENT OUTPUT