Number of syllables in the word

Assignment Help Business Management
Reference no: EM131230159

Write a program called syllables.py that reads a word and prints the number of syllables in the word. For this program, assume the following rules are the only ones you need to determine the number of syllables (there are some special case words that do not follow these rules and we will NOT test for those):

Each vowel (a,e,i,o,u,y) counts as 1 syllable except as noted below

A sequence of adjacent vowels count as 1 syllable

An 'e' at the end of a word does not count

If the program determines there are no syllables, then set the count to 1 syllable

Here are some examples:

Please give me a word: harry

The word harry has 2 syllables.

Another example:

Please give me a word: hairy

The word hairy has 2 syllables.

Another example:

Please give me a word: hare

The word hare has 1 syllables.

And one more example:

Please give me a word: the

The word the has 1 syllables.

Reference no: EM131230159

Questions Cloud

What value did the it/is investments add to albassami : How did implementing the Shipping Information System address the business needs and information requirements of Albassami?
Exchange around the world : You are the assistant publicist for a best-selling international author who wrote an adventure novel about an improbable around-the-world trip. To promote her new novel, she will leave on a multi-city book tour. Her publisher created an Access dat..
Describe the important dimensions of knowledge : What is the role of knowledge management and knowledge management programs in business?
How quality is defined and to the kano model : "Empowerment is earned-it is not a right" and "empowerment must have limits-all empowerment involves appropriate checks and balances." Express your views on these statements, then link the support of your views to how quality is defined and to the..
Number of syllables in the word : Write a program called syllables.py that reads a word and prints the number of syllables in the word. For this program, assume the following rules are the only ones you need to determine the number of syllables (there are some special case words t..
Find the probability of a ring landing : Find the probability of a ring landing one of the cones and the radius of the bottom of the cone is 4cm and the height i 17.8cm while the carboard its glued to has a height of 76.7cm and a width of 56.4
Research personal navigation devices : Why have Personal Navigation Devices become popular? What technologies are required to facilitate the success of PNDs?
Use of rad and case techniques : In about three hundred words, with references Do you think that the specific number of tiers within the client-server scheme will have an impact on the choice and use of RAD and/or CASE techniques and tools? Why or why not?
What types of systems are used for enterprise wide knowledge : Describe the role of the following in facilitating knowledge management: portals, wikis, social bookmarking, and learning management systems.

Reviews

Write a Review

Business Management Questions & Answers

  Influence of globalization and management across borders

Explain the roles and responsibilities which organizational managers and leaders play in creating and maintaining the healthy organizational culture.

  Define the belief that people should be taxed

Define the belief that people should be taxed according to their ability to pay, regardless of the benfits they recieve.

  Development of a training and mentoring programcareer

development of a training and mentoring program.career development plan part ii - development of a training and

  Contingency plans and risk analysis

What is a contingency plan? What is risk analysis? What similarities and differences occur in the contingency plan and a risk analysis? Why are they important to a lodging organization?

  Flora and fauna need to start a landscaping business venture

Flora and Fauna need to start a landscaping business venture together. They want to each own 50% of the venture as well as want to share profits 50/50

  Symptoms of the systems which projects inhabit

Do you agree or disagree with Awati's assertion that the common reasons for project failure that he discusses are symptoms of the systems which projects inhabit?

  What is the main purpose for the web site

What is the main purpose for the Web site? What messages is the Web site trying to convey? What did you think about the company before visiting the Web site, and how does your perception compare to the message conveyed by the Web site?

  Emotional intelligence can be developed as a team competency

Emotional intelligence can be developed as a team competency. To build team-emotional intelligence, leaders need to create team identity, build trust, examine unhealthy norms, and bring emotions to the surface.

  Unwanted economic policies unwillingly

Being that the government could impose unwanted economic policies unwillingly, what do you think will be domino effect of such actions?

  Five practices of exemplary leadership model

What are the principles you have personally learned in this course that have impacted or will impact your leadership in your workplace, home, church, and community? In other words, what do you take away from this course that will make you a bette..

  Show the global management factors

find specific skills and knowledge that is critical to the success of global managers and also assistance in developing an education plan for managers to acquire the needed knowledge and skills.

  Employee empowerment culture and penetration pricingwhat

employee empowerment culture and penetration pricingwhat would be a good example that could be used to show from any

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd