Guys please help to count
Guys im new to programming,I want to know how many twelves in list=[1,2,3,4,5,6,7,8,9,10,11],
1.add two numbers if that number gets value as 12,please add count as 1,loop over the list i want to know how many 12's in the particular list
This is my code....
#This program is used to count how many number add to get 12
for i in list1:
for j in list1:
What do you mean? You want to find the number of times an int is in list