Create a function in Python named number (t) which takes as parameter a string of characters t. The function returns an integer which is the number of characters in t that meet the criteria below. The...


please for lists are not allowed for this question. please use out own code and a picture, can you also put comments to uderstand better... thank you


Create a function in Python named number (t)<br>which takes as parameter a string of characters<br>t. The function returns an integer which is the<br>number of characters in t that meet the criteria<br>below.<br>The criteria are: lowercase letters e to j<br>(inclusive), uppercase letters F to X (inclusive),<br>numbers 2 to 6 (inclusive), exclamation mark (!),<br>Comma (,) , and the backslash (\). For example, if<br>the string t contains two 'X', the function must<br>have these two 2 characters.<br>Respect the type contract (str) -> int<br>

Extracted text: Create a function in Python named number (t) which takes as parameter a string of characters t. The function returns an integer which is the number of characters in t that meet the criteria below. The criteria are: lowercase letters e to j (inclusive), uppercase letters F to X (inclusive), numbers 2 to 6 (inclusive), exclamation mark (!), Comma (,) , and the backslash (\). For example, if the string t contains two 'X', the function must have these two 2 characters. Respect the type contract (str) -> int

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here