Python includes exercises 17

Python includes exercises 17

Title: Enter the line of characters, respectively, the statistics of the number of https://www.xuanhe.net/ letters, spaces, numbers and other characters in them.

Analysis procedure: using a while or for statement, the condition is not a character input '\ n'.

 

 

 

 Examples of the above output is:

Guess you like

Origin www.cnblogs.com/danjiu/p/12172282.html