pycharm the template file .py Method:
Settings -> File and code templates -> File -> Python Script-> right input template content -> Applications -> OK
Note:
# is the beginning of a single line comment (shortcut key CTRL + /) paired '' 'in the middle of a multi-line comment
lines of code connector: \
Print ( "Hello World")
is equal to Print ( "Hello \
World")
quotes:
single and double quotation marks, three quotes are string (note the single and multiple use of cross marks)
escape character: \, r r or
the back of the special characters into a normal character
input, output:
Print, iNPUT (input string type are)
Python common data types:
numbers, strings, lists, tuples, dictionaries
2019-10-16 python learning the first day
Guess you like
Origin www.cnblogs.com/w-6711/p/11688941.html
Recommended
Ranking