k= {}
for i in range(0, 101):
k[i]=0
for j in range(0, 2):
number=raw_input("give number")
if number in k: #This part doesn't seem to work
k[j]+=1
print k
Thanks in advance!
Last edited by bvdet; Jul 30 '11, 11:46 PM.
Reason: Add code tags
huh!Well,yes it does,but just not how i wanted!lol.I want the program to expect a number(0-80) from the user and then show on a "matrix" how many times that number was given!But it appears i am way far from that right now!Anyway,than ks for your time.
Comment