Python Forum
How should write a command for frequency?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How should write a command for frequency?
#1
How should write a command for frequency?
_Frequency of different number of doors (2, 3, 4, and 5)
_Frequency of different fuel types (Petrol, Diesel, CNG)
Reply
#2
what have you tried so far?
show code attempts and associated errors.
Don't forget to use BBcode tags
Reply
#3
Start by defining "frequency". If there are 27 cars and 9 of them have 2 doors, what is the frequency of 2 doors? If 9 of them are diesel, what is the frequency of diesel. How did you arrive at your numbers. Can you write a Python program that mimics your logic?
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020