Returns a list of the index positions

Assignment Help Basic Computer Science
Reference no: EM132184266

What is a function that takes as input a string and returns a list of the index positions of all the vowels in the word.  A vowel is defined as any letter in "aeiouAEIOU".  Use this function in a program that prompts the user for a word or phrase and outputs the index positions of all the vowels. Make the program user friendly. You must NOT print the index positions as a list. Instead, the index positions should be printed one per line as shown below.

For example, the program may execute as follows:

Please enter a word (or phrase) and I will tell you where the vowels are: Hello WORLD!!

The vowels are at positions:

1

4

7

Reference no: EM132184266

Questions Cloud

How are social inequalities and hierarchies reproduced : How might your social class influence how these agents of socialization function? How are social inequalities and hierarchies reproduced?
What strategies can you use to enhance your creativity : Think of a conflict that occurred in a team you were a part of and analyze it. What were the main sources of the conflict?
Disadvantages of three-tiered architecture : Describe the advantages/disadvantages of three-tiered architecture?
Explain what the technology is and how the technology works : Explain the business or technical problem the technology is designed to solve and the application of the technology to the problem.
Returns a list of the index positions : What is a function that takes as input a string and returns a list of the index positions of all the vowels in the word.
Describe barbour and dysons ideas about freedom : Identify potential ways in which your chosen technology can be used either as a means of enabling participation.
Explain the difference between bound and unbound controls : Give an example of filtering as it pertains to Access and 3. Explain the difference between Bound and Unbound Controls. Give examples.
Compare the scan algorithm with dbscan : What are their similarities and differences?Compare the SCAN algorithm with DBSCAN . What are their similarities and differences?
Determine the emerging enterprise network applications : Is the title appropriate? Does the abstract summarize well? Are individual ideas assimilated well? Are wording, punctuation, etc. correct?

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Which alternative would now be the most profitable

Using the Aspiration level criterion, if the profit level is set to be at least $300,000 and the loss level is set to be no more than $150,000 which alternative(s) must be eliminated?

  Write a function called parkingcharge

Write a function called parkingCharge that, given the type of vehilce (c = car, b = bus, t = truck) and the hours a vehicle spent in the parking lot, retruns the parking charge based on the rates shown below.

  Discuss the differences of the three cloud types

After a number of business seminars dealing with the future adoption of technologies within the business framework the theme of remotes access to business data.

  What the different between j2me vs android

In your opinion identify and describe any five aspects which ensure the existence of M Commerce in long run

  Does the website contain a clear visual story

Is the author of the website clearly stated? Does the author provide contact information? Does the individual or organization list all of the qualifications or credentials?

  Higher levels of economic growth

"A host of policies by Indian governments since the late 1980s resulted in higher levels of economic growth." Critically appraise this statement.

  Security measures is most appropriate

For each of the situations described below, indicate which of the following security measures is most appropriate and explain why your answer is correct:

  Create maintain a detailed annotated list of resources

In a Wiki you will prepare a brief description of a data science project, for instance as listed for Assessment Task 3, followed by a table giving resources. The table would look like:

  Describe the difference between the probability distribution

Describe the difference between the probability distribution of a discrete random variable and that of a continuous random variable

  Determining the procedural programming

Discuss and explanin advantages of using object oriented programming as compared to procedural programming.

  Comprise a code of ethics for information professional

What constitutes a set of guidelines that will comprise a code of ethics for information professional?

  Determine that company strengths and weaknesses

"Internal Environment" Please respond to the following: CHOOSE A COMPANY you researched to determine that company's strengths and weaknesses.  Be as specific as possible.

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