Python study notes 1.4

Comments
Auxiliary information that is not executed by the program
- single-line comments: start with #, followed by comments
# here is a single-line comment
- multi-line comment: start with ''' and end with
''' This is the first multi-line comment line
This is the second line of a multi-line comment '''

保留字
and elif import raise global
as else in return nonlocal
assert except is try True
break finally lambda while False
class for not with None
continue from or yield
def if pass del
(26/33)

The sequence number of the string is
forward increasing and reverse decreasing

eval(): A function that removes the outermost quotes of the parameters and executes the rest of the statement

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324630115&siteId=291194637