Python basics: day1, pythonday1
# Preface
Python is a computer programming language. The computer programming language is different from the natural language we use everyday. The biggest difference is that the natural language has different understandings in different contexts, while the computer needs to execute tasks according to the programming language, it is necessary to ensure that the program written by the programming language cannot be ambiguous. Therefore, any programming language has its own set of syntax, the compiler or interpreter is responsible for converting syntactic-compliant program code into a machine code that can be executed by the CPU and then executing it. Python is no exception.
The syntax of Python is relatively simple and indented. The code written is like the following:
# Print absolute value of an integer: a = 100if a> = 0: print aelse: print-
#1. Data Type, variable
### Integer