Challenge:
Read input (within visible ASCII range) and output with a few modifications:
- In each set of 10 characters of the input randomly (50/50):
- replace one character* (with a random** one within visible ASCII range) (ex.
lumberjack
becomeslumbeZjack
) - or remove one character (ex.
lumberjack
becomeslmberjack
)
- replace one character* (with a random** one within visible ASCII range) (ex.
* If the set is of less than 10 characters, you don't have to modify it, but you can.
** The character can be the same as the one input, as long as it's still random.
Example:
Input: Go home cat! You're drunk!
Output: Go hom cat! YouLre drunk!
(just a example, since output could be random, don't use as a test case)
Rules:
- code-golf, least characters wins!