4.3 Daily practice

Please list what you know Python code detection tool and the difference between them?
pylint: source code analyzer, can analyze python code error 
pyflakes: simple program to check the source of the error, the code does not check style.

There is a list [ "This", "is", "a", "Boy", "!"], All elements are strings, the case against him has nothing to do sort c
# There is a list [ "This", "is ", "a", "Boy", "!"], All elements are strings, the case against him has nothing to do sort c 
List = [ " This " , " IS " , " A " , " Boy " , " ! " ]
 Print (the sorted (List)) # output: '!' [, 'Boy ', 'This', 'a', 'is']

 

Guess you like

Origin www.cnblogs.com/ljy123/p/12635211.html