By Akula Arjun
In this python project, we will design a game between two members where one will count substrings start with consonants and another will count substrings start with vowels from the given string.
The Minion game :
In this python project, the game is designed between two members namely Stuart and Kelvin where one will count all substrings that start with consonants and the other will count all substrings that start with vowels from the given string in the input. The winner is one whose substrings are more and will be displayed in the output with the score.
Example:
Input :ICE
Output : Kelvin 4
Input :ARJUN
Output :Stuart 8
Input :ALPHA
Output :Stuart 9
Input :OLIO
Output :Kelvin 7
Input :ARIA
Output :Kelvin 7
Input :BEAR
Output :Draw
Input :BANANA
Output :Stuart 12
Submitted by Akula Arjun (Arjun)
Download packets of source code on Coders Packet
Comments