0% found this document useful (0 votes)
16 views1 page

Python Study

Uploaded by

anjalibadhai4
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 views1 page

Python Study

Uploaded by

anjalibadhai4
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/ 1

item=

syntext veriable=dict.item()
6)UPDATE=
THIS METHODWILL CHANGE OR MODIFY VALE OF MATHCHING KEY FROM SECOND DICTONARY
OTHERWISE ADD THE THE KEY VALUE PAIR TO SECOND DICTONARY FIRST DICT
SYNTEX= DICT1.UPDATE(dict.2)
ex-
d={2:"a",4:"b"}
d1={6:"c",4:"d"}
d.update(d1)
print(d)
output-{2: 'a', 4: 'd', 6: 'c'}
randomrange()
syntex
random.random

some stastic functon module


i)mean:-it is use to return avrage of series of value
syntex:-
stastics.mean(series of val)
example:-
print(stastistic.mean([2,4,6,7]))
2)median:-
syntex:-
stastics.median(series of val)
example:-
print(stastistic.median([2,4,6,7]))
3)
it is use to return haveing maximum frequence of value
print(stastistic.median([2,4,6,7]))
3)

You might also like