Python is a programming
language which works quickly and integrates systems more effectively in
development process.
Python is a very popular programming language
which was created by Guido van Rossum, and released in 1991.
Different
Uses of Python
Ø Web Based Development
Ø Software Development
Process
Ø Mathematics Problems
Ø System Scripting
Execution
Why
to Consider Python?
Ø Python can be used in
server side to create different web applications.
Ø Python can be used together
with software to create various workflows.
Ø Python can connect to
database systems to read and modify files.
Ø Python can be used to
solve big data problems and perform complex mathematics.
Ø Python can be used for
fast prototyping for production-ready software development.
Python
List
Python lists are used to store multiple items in a single variable(in
List format). Python list built-in data types in Python used to store
collections of data with different qualities and usage.
Characteristics
of Lists
Ø The Python list has the
following characteristics:
Ø The Python lists are in
ordered format.
Ø The element of the list
can access by index.
Ø The Python lists are the
mutable type.
Ø The Python lists are
mutable types.
Ø A Python list can store
the number of various elements.
Syntax:-
my_list = ["Value-1" , " Value-2" , "
Value-3……………………………………………………………nth times"]
Example
1 :
my_list = ["Apple", "Banana", "Mango"]
Create
a List:
my_list = ["Apple", "Banana", "Mango"]
print(my_list)
Output:-
["Apple", "Banana", "Mango"]
Example
2 :
my_list = [1, 2, 3]
Create
a List:
my_list = my_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0]
print(my_list)
Output:-
[1, 2, 4, 5, 6, 7, 8, 9, 0]
Example
3 :
my_list = [1, "Apple", 9.5]
Create
a List:
my_list = [1, 2, 3, "Apple", "Banana",
"Mango", 1.5, 2.5, 3.5]
print(my_list)
Output:-
[1, 2, 3, "Apple", "Banana", "Mango", 1.5,
2.5, 3.5]
TCCI provides python
programming training through different learning method/media as per students
convince.
For More Information:
Call us @ 9825618292
Visit us @
http://tccicomputercoaching.com
No comments:
Post a Comment