Variables
Hello everyone, I am Li Ge Xiao Shen Long. Today we will learn about variables. First, we need to understand what a variable is: a variable is a container used to store changeable data. Next, we need to know the structure of a variable: variable name + = + data. (Data refers to types like int, str, float, etc.) However, there are restrictions on variable names: 1. They cannot start with a digit. 2. If you want to use punctuation, you can only use _. 3. You cannot use existing Python function names or keywords as variable names. Furthermore, we need to understand the application of variables: variable name + = + data function + (+ variable +). Following the above, in the end, the data in the variable will be passed into the function. Finally, here is the program: 