I have to create a program for the following:
Create a function in Python named vote_pourcentage which takes as
input a string and counts the number of yes and no in this chain . There
It should return the percentage of yes from all yes and no , not counting abstentions in the string. ( It may be considered that the string only contains
yes, no or abstention and there is at least one yes or no ).
In the main part of the Python program , ask the user to insert the string
characters , invoke the vote_pourcentage function and display the result of the vote. There are many messages to display. 
- If all votes are yes(excluding abstentions), printunanimously
- if at least 2/3 of the votes are yes, printclear majority
- and if at least half of votes are yes, printsimple majority;
- otherwise print the motion does not pass.
 
     
     
    