This respository includes two interesting tasks and my proposition thier solution in Python
INPUT: So first we must type some word or a string of characters. Than after a space(" ") we write other string of characters. Our program check that exactly the same characters given before the space appear in word given after the space.
EXAMPLES:
I _______________________________
Input: 'boy bcsoaay'
Output: '1' -> [mains "yes" or "true"]
II _______________________________
Input: 'boy bo23879fsdf98y'
Output: '1' -> [mains "yes" or "true"]
III _______________________________
Input: 'boy b123o'
Output: '0' -> [mains "no" or "false"]
IV _______________________________
Input: 'boy bbboooyyy'
Output: '1' -> [mains "yes" or "true"]
INPUT: So first we must write how many digits does our number have . Than after a space(" ") we write our number. In place of some digits we put '?' and our program will calculate how many ways we can write a given number.
EXAMPLES:
I _______________________________
Input: '1 ?'
Output: '10'
II _______________________________
Input: '2 ?5'
Output: '9'
III _______________________________
Input: '3 ?5?'
Output: '90'
IV _______________________________
Input: '5 1?3?5'
Output: '100'