Sunday, December 1, 2019

                                                                PYTHON






Variable declaration :


var = value
emp = "anand"


int

a = 4
b = 5
c = a + b


print ('tamil')
tamil

print(emp)
anand


DATA TYPE :

type(a)
int


LIST :

[ ] - to declare list 

Dictionary:

{ } - to declare DICT

TUPLES :


( ) - to declare tuples


FUNCTIONS:

type.append(2)

type.count(2)

max(type)

min(type)

del [list]

f