+1

How should I create python module to calculate frequency.

Python

11/10/2019 5:10:09 AM

MITRESH POONIA

4 Answers

New Answer

+3

MITRESH POONIA Could you please describe in detail what you intend to do? Your question is ambiguously to me. Frequency can be derived from the number of cars passing a street crossing in a specified time interval, or frequency can refer to extracting frequencies out of a digitized sound signal by means of fourier analysis.

+3

It could also refer to how often a letter appears in a sentence or statement. It could be as simple as implementing a count function

+2

The question is to calculate how many times a letter is appearing in the function

+2

There are many ways to achieve this, I have attached an example below for you. Copy it for yourself as I normally delete after a couple of days https://code.sololearn.com/cqR8yt4u8Mmm/?ref=app