Given a string, return a string where for every char in the original, there are two chars.
M9: CodeWorkout
Score: 0 / 8.0
Exercises
Given two strings, base and remove, return a version of the base string where all instances of the remove string have been removed (not...
Given a string, return true if the number of appearances of "is" anywhere in the string is equal to the number of appearances of "not"...
We'll say that a "triple" in a string is a char appearing three times in a row. Return the number of triples in the given string. The...
Given a day number (1-7), return the day of the week ("Sunday", "Monday", etc.). If an invalid day number is provided, return "Invalid".
...Given two integers low and high representing a range, return the sum of the integers in that range. For example, if low is 12 and high is...
Given an integer num, return the sum of the multiples of num between 1 and 100. For example, if num is 20, the returned value should be...
A magic date is one when written in the following format, the month times the date equals the year e.g. 6/10/60. Write code that figures...