0% found this document useful (0 votes)
16 views

Class 2 Introduction Python

Uploaded by

kunala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Class 2 Introduction Python

Uploaded by

kunala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

where we can use python:-

1.For developing Desktop application.


2.For developing web app.
3.For developing database app.1.Arithmetic Operators
2.Relational or comparision operatos
3.Logical Operatos
4.Bitwise Operators
5.Assignment Operatosindia nai tiob in python3 we have only input() method and
eaw_input() method is not available.

python 3 input() function behaviour exactly same as raw_input() method of py2 that
is every input value is treated as str type only.

Note:- raw_input function of python 2 is renamed as input() function in python3.


Operators:-

Operator is a symbol that performs certain operation,


Python proviede many operatos.

1.Arithmetic Operators
2.Relational or comparision operatos
3.Logical Operatosk batuibkeej ubd indian arngudfoaoddofhsdsoihfodhfvx jjsddgf

10--->int
'scodeen'--->str10--->int
'scodeen'--->str
10.5--->float

Note:- But in python3 we have only input() method and eaw_input() method is not
available.

python 3 input() function behaviour exactly same as raw_input() method of py2 that
is every input value is treated as str type only.

Note:- raw_input function of python 2 is renamed as input() function in python3.


Methods of dictionary:-
clear', 'copy', 'fromkeys', 'get', 'items', 'keys', 'pop', 'popitem', 'setdefault',
'update', 'values']

1,clear:- Removes all element from the dictionary.

>>> s = {101:'Tushar',102:'Balaji',103:'Rupali'}
>>> s.clear()
>>> s
{}
10.5--->float
4.For Network programming.
5.For developing games.i.Insertion order are preseved.
ii.hetrogeneous object are allowed.
iii.duplicates are allowed.
iv.Growable in nature.
v.values should be enclosed within squre bracket.

ex:-
l = [10,56.87,7+9j,True,'string',[1,2,3,4],10]
>>> l
[10, 56.87, (7+9j), True, 'string', [1, 2, 3, 4]]
>>>
6.Fotr Data analysis application and data science.Note:- But in python3 we have
only input() method and eaw_input() method is not available.

python 3 input() function behaviour exactly same as raw_input() method of py2 that
is every input value is treated as str type only.

Note:- raw_input function of python 2 is renamed as input() function in python3.


Operators:-

Operator is a symbol that performs certain


Note:- But in python3 we have only input() method and eaw_input() method is not
available.

python 3 input() function behaviour exactly same as raw_input() method of py2 that
is every input value is treated as str type only.

Note:- raw_input function of python 2 is renamed as input() function in python3.


Methods of dictionary:-
clear', 'copy', 'fromkeys', 'get', 'items', 'keys', 'pop', 'popitem', 'setdefault',
'update', 'values']

1,clear:- Removes all element from the dictionary.

>>> s = {101:'Tushar',102:'Balaji',103:'Rupali'}
>>> s.clear()
>>> s
{}operation,
Python proviede many operatos.

1.Arithmetic Operators
2.Relational or comparision operatos
3.Logical Operatos
4.Bitwise Operators
5.Assignment Operatos
6.Special Operator.

7.For machine learning.


8.For AI(Artificial Inteligence) app.
9.Fot IOT(Internet of things)

Limitation of python.10--->int
'scodeen'--->str
10.5--->float

Note:- But in python3 we have only input() method and eaw_input() method is not
available.

python 3 input() function behaviour exactly same as raw_input() method of py2 that
is every input value is treated as str type only.

Note:- raw_input function of python 2 is renamed as input() function in python3.

1.Not using in mobile application.


2.Not using in banking application.
tommrow class:- features of python and flavour of python.
ii. middle level programming lang.
In this programming a conveter using for convert char. to binary number.

programming is fast but output is very slow..

iii.high level programming lang..

introduce oops(object oriented) and scripting lang(Procedure oriented).

Programming is ver fast and output is very fast compare to middle level lang.

You might also like