From 7713f3bd2b2c9bcaa41d812abbde51faea99afa8 Mon Sep 17 00:00:00 2001 From: zainabdnaya Date: Tue, 19 Jul 2022 12:03:13 +0100 Subject: [PATCH] corrected --- subjects/unzipstring/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subjects/unzipstring/README.md b/subjects/unzipstring/README.md index 64dba5c9..5d7f19de 100644 --- a/subjects/unzipstring/README.md +++ b/subjects/unzipstring/README.md @@ -2,17 +2,17 @@ ### Instructions -Write a function called Unzipstring that takes a string that will be a kind of code, and your function will have to decrypt it and return a new string with the output. +Write a function called `Unzipstring` that takes a string that will be a kind of code, and your function will have to decrypt it and return a new string with the output. It works as follows: The string will be formed by a number followed by a letter, and the purpose is to print this letter the number of times that is requested by the number that precedes it. "3w" ==> www "2m3e" ==> mmee -- The number before the letter must be between 0 and 9. -- The letter after each number must be between a and z or A and Z. +- The number before the letter must be between `0` and `9`. +- The letter after each number must be between `a` and `z` or `A` and `Z`. - You cannot have two numbers or two letters in a row. -- If the input string does not respect the format, return Invalid Input. +- If the input string does not respect the format, return `Invalid Input`. ### Expected Function