We assign memory location by variable. Variable has two type. Variable name and variable value. We assign equal sign "=" to set variable value. Left side we declear variable name and Right side we declear variable value. Example:
name = "Sohel khan"
role = 'Software Engineer'
id = 19072
We don’t declear data-type in python opposites of C, C++, Java etc. We don’t need to use int, float, char. When we declear string, we can use single quotation or double quotation sign. When we declear integer or float point value, we use only digit.
string_1 = "This is a string"
string_2 = 'This is a string'
int_1 = 24