Python

Python Variable Declaration Rules and Syntax

Posted on

Variable and Value A variable is a memory location where a programmer can store a value. Example : roll_no, amount, name etc. Value is either string, numeric etc. Example : “Sara”, 120, 25.36 Variables are created when first assigned. Variables must be assigned before being referenced. The value stored in a variable can be accessed […]