Tuple is used to store sequence of immutable values. The values in tuples are enclosed within parenthesis () and separated by using commas (,). It is just like lists since the values in the lists are mutable or changeable whereas the values in the tuples are immutable or unchangeable.
List is used to store sequence of values of different types. The values or data in list are called Elements or Items. These items in a list are enclosed within square bracket  and separated by using commas (,).
L1 = [1, 2, 3, 4, 5, 6] //List…
The string data types are immutable in python. Immutable means unable to change. So, it cannot be change the value of a string in python. When we are changing the value of a string, a new string will be generated.
String str=” My name”
Then we are trying to…
Datatypes are the types of data which represents a kind of value. There are many datatypes in python.
It contains positive or negative whole numbers. Eg, 1, 2, 50, -20, 10
num = 100
It represents real numbers with floating point. Eg, 2.5, 25.23
fnum = 34.45
String contains sequence of characters. It represents by using single quotes, double quotes or triple quotes. It is denoted by the class str.
str = “My name”
Boolean represents True and False values. It is denoted by the class bool.
a = True
The output <class ‘bool’> indicates the variable is a Boolean data type.
The keywords True and False must have an Upper Case first letter. lowercase true and false returns an error.
Steps to download and install Visual Studio Code
Python is popular in many areas.
It is easy to develop web applications using python, which provide standard libraries to support internet protocols like HTML, XML, JScM, Email processing, FTP & IMAP and has many frameworks like Django and Pyramid, Flask and Bottle, Plone and Django CMS.