current position:Home>Calculate the number of uppercase letters, lowercase letters and numbers in any string

Calculate the number of uppercase letters, lowercase letters and numbers in any string

2022-02-02 15:41:07 CSDN Q & A

Calculates the uppercase letters in any string 、 Lowercase letters 、 The number of numbers

Please write a function to calculate the uppercase letters in any input string 、 Lowercase letters 、 The number of numbers , And save the statistical results in the form of a dictionary .
Sequence type data sorting
Please customize a function , Sort any interval data in any sequence type , And display the sorting results . Be careful : The parameter list shall contain the sequence type data to be sorted 、 Start index and end index 、 And sorting method settings ( From small to small , From big to small ) Four parameters .

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202021541060728.html

Random recommended