Day 2 : Datatypes and operators
Hello guys, Here we are day 2, Every language have their own datatypes and different syntax and some advantages. What is a Variable? A variable is actually a memory location reserved to store some value. In other programming languages like C, C++ variable type must be defined explicitly. But in Python😎 , the values assigned to the variable determines its type. We don’t need the explicit declaration in Python to reserve memory space. What is identifier? Basically, identifiers are the unique name given to variables, functions, class and other entities in Python. There are certain rules that need to be followed while giving a name to any entities in Python. Rules for writing an identifier in Python 1. First letter of an identifier must be alphabet (underscore is also allowed) 2. Identifier can only contain letters, digits, and underscores 3. Identifiers in Python can be of any length 4. White space is not allowed 5. K...