Programming

Programming questions? Ask a programmer for answers ASAP

Ask a Computer Expert,
Get an Answer ASAP!

2. Write a function which returns the first vowel in a word.

Customer Question
2. Write a function...

2. Write a function which returns the first vowel in a word. For our
# purposes, the vowels are 'a', 'e', 'i', 'o', and 'u'. Here are
# examples of how the function should work.
#
# >>> first_vowel('computer')
# o
# >>> first_vowel('science')
# idef first_vowel(word):
pass how do I do this

Technician's Assistant: What programs and versions are you using?

Python 3.6.2

Technician's Assistant: What is your ideal outcome? How can we solve this for you?

Using basic loops

Submitted: 10 months ago.Category: Programming
Show More
Show Less
Ask Your Own Programming Question
Answered in 1 minute by:
9/21/2017
Programmer: LogicPro, Computer Software Engineer replied 10 months ago
LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 13,507
Experience: Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
Verified
Hi
Ask Your Own Programming Question
Programmer: LogicPro, Computer Software Engineer replied 10 months ago

Welcome here

You need just function or entire code in .py file?

Ask Your Own Programming Question
Programmer: LogicPro, Computer Software Engineer replied 10 months ago

Here is the function you needed:

https://pastebin.com/raw/mRud2Crt

Let me know if you need anything else or Leave your rating by selecting five stars located on the top right of the question page. Giving a positive rating compensates the Expert for their time with you. Please remember that your Expert will not be paid until you leave a positive rating for the answer. If the stars are grayed out or you cannot click on the stars to rate your experience, reply to your Expert and let them know so they can adjust your question and allow you to rate.

Please consider adding bonus after rating

http://ww2.justanswer.com/help/what-if-expert-does-really-fantastic-job-hl

You can also come back and add a bonus at a later date by using the "Write a review or give a bonus" button on your question page.

We can continue the conversation until you're satisfied and rate my answer as excellent to credit me. I can address follow up questions and I'm always here to help.

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers. It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

Thank you for using this site!

LogicPro

Ask Your Own Programming Question
Was this answer helpful?

How JustAnswer works

step-image
Describe your issueThe assistant will guide you
step-image
Chat 1:1 with a programmerLicensed Experts are available 24/7
step-image
100% satisfaction guaranteeGet all the answers you need
Ask LogicPro Your Own Question
LogicPro
LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 13,507
13,507 Satisfied Customers
Experience: Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

LogicPro is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

ATLPROG

ATLPROG

Computer Software Engineer

7,677 satisfied customers

MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

LogicPro

LogicPro

Computer Software Engineer

13,507 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

lifesaver

lifesaver

Computer Software Engineer

950 satisfied customers

Several years of intensive programming and application development experience in various platforms.

ehabtutor

ehabtutor

Computer Software Engineer

936 satisfied customers

Bachelor of computer science, 5+ years experience in software development, software company owner

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

The-PC-Guy

The-PC-Guy

Software Engineer

848 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions
I need to solve this question can you solve it for me? Its
i need to solve this question can you solve it for me? … read more
Chris Baxter
Chris Baxter
28 satisfied customers
***For LogicPro only*** I have another C Program question:
***For LogicPro only*** I have another C Program question: Write a function to determine if a given word is legal. A word is illegal if it contains no vowels. For this problem, the letter Y is conside… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,507 satisfied customers
Hi, I m first year to learn python and not really get used
Hi, I m first year to learn python and not really get used to it. I am kind of struggling work on the first assignment. Any help will be appreciated. Thanks Heres the questions. http://ilearn.mq.edu.a… read more
unvadim
unvadim
Computer Software Engineer
Diplom
1,168 satisfied customers
1) Write a macro, MIN5 (A, B, C, D, E), which takes five arguments
1) Write a macro, MIN5 (A, B, C, D, E), which takes five arguments and returns smallest value. 2) Write a function which will determine how many words are in a given string. You can assume that one or… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
Need help with 3 separate MIPS Assembly programs... details
Need help with 3 separate MIPS Assembly programs... details are as follows: 1. Write an iterative function to compute N factorial, and then write a recursive function to compute N factorial. Compare t… read more
Arty
Arty
Senior Administrator
Bachelor\u0027s Degree
469 satisfied customers
hello Justanswer! I have a question that will write a C++
hello Justanswer! I have a question that will write a C++ program and here is the question. Write a C++ program about : Vowels, Consonants and Digits Write a function that accepts a pointer to a C-str… read more
jatechexpert
jatechexpert
Master\u0027s Degree
1 satisfied customers
Write a python program that converts inches to centimeters.
Write a python program that converts inches to centimeters. The program should prompt the user for a floating point number in inches and print out the correct amount converted to centimeters. The outp… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,507 satisfied customers
Write a function that takes as a parameter an string and returns
Write a function that takes as a parameter an string and returns the vowels (a, e, i, o, u). The function prototype should look like: void countVowels(string str, int& aCt, int& eCt, int& iCt, int& oC… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,507 satisfied customers
I need a program that translates English to Pig Latin. The
I need a program that translates English to Pig Latin. The way you translate English to Pig Latin is to use the following rules: If the word starts with a vowel (A, E, I, O, U), append the string way … read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,507 satisfied customers
Strings You have been asked to construct a program that
Strings You have been asked to construct a program that will translate English to Pig Latin. Following good programming practice, you realize that the solution will make heavy use of functions. You pl… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
Unit 7 Assignment B Write a function that takes as a parameter
Unit 7 Assignment B Write a function that takes as a parameter an string and returns the vowels (a, e, i, o, u). The function prototype should look like: void countVowels(string str, int& aCt, int& eC… read more
neelimark
neelimark
Embedded Software Engineer
Bachelor\u0027s Degree
458 satisfied customers
I need this by Tuesday at noon this is C++ code Write a function
I need this by Tuesday at noon this is C++ code Write a function that takes as a parameter an string and returns the vowels (a, e, i, o, u). The function prototype should look like: void countVowels(s… read more
neelimark
neelimark
Embedded Software Engineer
Bachelor\u0027s Degree
458 satisfied customers
hello again. Thanks for the help so far. Want to answer a couple
hello again. Thanks for the help so far. Want to answer a couple of questions. No hurry with these. U can take several days if necessary.… read more
lifesaver
lifesaver
Computer Software Engineer
Bachelor's Degree
950 satisfied customers
I have 5 questions I need to ask. They are not related to
I have 5 questions I need to ask. They are not related to each other. I only have two hours to wait for the answers...Thanks...Please use C++ to answer them 1. Your program needs to accept characters … read more
Ingo U
Ingo U
Master\u0027s Degree
358 satisfied customers
Can you answer this for me Write a value-returning function
Can you answer this for me? Write a value-returning function that returns the number 1 if a given character is a vowel and otherwise returns 0.… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,507 satisfied customers
In the Romany Language, all the consonats are doubled and an
In the Romany Language, all the consonats are doubled and an 'o' is placed between the doubled consonats. Vowels and other characters remain unchanged. As input, read in lines of plain English text an… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
13,507 satisfied customers
Im not getting any logic errors but the while loop only loops
I'm not getting any logic errors but the while loop only loops through once. for example when you type in a word beginning with a consonant (anything other than a,e,i,o,u,y) it should cut off that cha… read more
Philip Chapman
Philip Chapman
Owner/Software Consultant
High School or GED
60 satisfied customers
The following code is a static class for an application class.
The following code is a static class for an application class. I need to run it with a while loop instead of an if statement. These are the requirements for the code Write an application that translat… read more
NeOh
NeOh
Software Engineer
Bachelor's Degree
682 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x