Slip 8 Q 1
CODE :
import collections
tuplex = 2,4,5,6,2,3,4,4,7,5,6,7,1
dictx=collections.defaultdict(int)
for x in tuplex:
dictx[x]+=1
for x in sorted(dictx,key=dictx.get):
if dictx[x]>1:
print('%d repeted %d times'%(x,dictx[x]))
Here u can get pune university TYBCA practical slips solutions easy and ready to use.(python , core java, ADV. java)
DOWNLOAD SLIP14Q2 /** * STEPS TO RUN CODE * Step 01 compile the code * Step 02 run the code * Step 03 give a file directory locatio...
No comments:
Post a Comment