Programming Practice 7a

Score: 0 / 5.0


Exercises

0 / 1.0

Given a string of even length, return the first half. So the string "WooHoo" yields "Woo".

0 / 1.0

Given a string, return a new string made of 3 copies of the last 2 chars of the original string. The string's length will be at least 2.

...
0 / 1.0

Given a string, return the string made of its first two chars, so the string "Hello" yields "He". If the string is shorter than length 2,...