.
list1=[2,3,3,2,5,3,2,5,1,1]
counts={}
ct=0
lst=[]
for num in list1:
if num not in lst:
lst.append(num)
counts[num]=0
ct=ct+1
counts[num]+=1
print(counts)
for key in counts.keys():
counts[key]=key*counts[key]
print(counts)
Answers
Answered by
0
Answer:
1. 3,2s,
Explanation:
Similar questions
Math,
1 month ago
Physics,
1 month ago
Biology,
1 month ago
Social Sciences,
3 months ago
Social Sciences,
3 months ago
French,
10 months ago
English,
10 months ago
English,
10 months ago