Login and get coding
You are given a list of integers. Write code to find the majority and minorty numbers in that list.
Definition: a majority number is the one appearing most frequently, a minority number appears least frequently.
Here is a simple example how it should work:>>> numbers = [1, 2, 2, 3, 2, 3]
Note - you can assume that there will be only one of each.
Hint: any built-in library that supports convenient and rapid tallies?