Tools, FAQ, Tutorials:
What Is Assignment Statement
What is Assignment Statement in Python?
✍: FYIcenter.com
An Assignment Statement is associates a reference of a data object resulted from an expression to a variable or to an item in a list or dictionary.
Assignment statement has the following syntax:
variable = expression
After the data object is assigned to a variable, the data object can referenced using the variable name.
For example, the following assignment statement defines variable "x" to be a reference to the "float" object created from the 3.14159 literal.
>>> x = 3.14159 >>> x 3.14159
The following assignment statement defines variable "y" to be a reference to the "float" object created from the expression 3.14159.
>>> y = 3.14159 * 2 >>> y 6.28318
⇒ Statement Syntax and Execution Flow Control
2018-03-13, 1402🔥, 0💬
Popular Posts:
How To Read a File in Binary Mode in PHP? If you have a file that stores binary data, like an execut...
Where to find tutorials on PHP language? I want to know how to learn PHP. Here is a large collection...
How to use "link" command tool to link objet files? If you have object files previously compiled by ...
How to convert a JSON text string to an XML document with PHP language? Currently, there is no built...
How to convert JSON Objects to PHP Associative Arrays using the json_decode() function? Actually, JS...