There are only data values which are used to run a program. It can be number, strings, boolean, and more are the types of data value. You are be careful that which data value you are using.
Number Data Type:- Number is the data type which is used to storing the number with or without decimal in the variable. Example are given below:-
For Number without Decimals.
For Number with Decimals.
String Data Type:- String is the data value type which is used to storing text like word unlike the numbers. String is written between single or double quotes. Quotes doesn't sstore in the variable, only the text between the quotes considered in the variable. An example given below:-
Boolean Data Type:- Boolean is the data type which have only two values like True/False, Yes/No, On/Off, and more. Example is given below