I have just started using python and am trying to write a program that generates 500 random numbers in the range (1,100),then counts the number of occurrences of each number and prints the frequency of occurrence. Also i was wondering how could i extend the program to show a bar graph of the info in a graphics window.I would be very grateful of any help you could give me.
tom7tom 0 Newbie Poster
Gribouillis 1,391 Programming Explorer Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.