Knowledge Base‎ > ‎Programming‎ > ‎Python‎ > ‎Python Reference‎ > ‎Python Reference‎ > ‎

text

 Name

 =(assign)

 Examples

 
 age = 16

 Description        

 
 Assigns a value to a variables. Creates the variables if it does not exist already.

 Syntax

 
 name = value

 Parameters

 
 name - a legal variable name (must start with a letter, and can have numbers and underscores in them)

 value - the value to store in the variable

 Related

 
 

Comments