I have just started using python and am trying to write a program that generates 200 random numbers in the range (1,50),then counts the number of occurrences of each number and prints the frequency of occurrence.
I have created the part of the code which generates the random numbers.
I need help in counting the frequency of these numbers.
However, all i would like is a push in the right direction. At the moment i am trying to do this using a for loop. How would i go about that.