How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask TheDoctor Your Own Question
TheDoctor, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1757
Experience:  M.S. in Internet Information Systems
Type Your Homework Question Here...
TheDoctor is online now
A new question is answered every 9 seconds

I have a possible job application where I need to change a

This answer was rated:

class Exercise

# XXXXX that "str" is a sequence of words separated by spaces.
# XXXXX a string in which every word in "str" that exceeds 4 characters is replaced with "marklar".
# XXXXX the word being replaced has a capital first letter, it should instead be replaced with "Marklar".
def self.marklar(Stan Eric Kenny Kyle)
# XXXXX: Implement this method

# XXXXX the sum of all even numbers in the Fibonacci sequence, up to
# XXXXX "nth" term in the sequence
# XXXXX the Fibonacci sequence up to 6 terms is (1, 1, 2, 3, 5, 8),
# XXXXX the sum of its even numbers is (2 + 8) = 10
def self.even_fibonacci(nth)
# XXXXX: Implement this method



I'm Josie and I'm a moderator for this topic.

We have been working with our professionals to try to help you with your question. Sometimes it may take a bit of time to find the right fit.

I was checking to see if you had already found your answer or if you still need assistance from one of our professionals.

Please let me know if you wish to continue waiting or if you would like for us to close your question?

Also remember that JustAnswer has a multitude of categories to help you with all your needs from Pet to Legal.

Thank you,


Customer: replied 3 years ago.

Nope I still need help on this one...What happens to my deposit if I do find the answer elsewhere? I'm not in a big hurry on this one, It's bugging me and I want to know how to do it!


Thank you, XXXXX XXXXX continue to look for a professional to assist you. You have made a good faith deposit, which you can use to pay for a helpful answer, or have refunded upon your request. Please let me know if I can be of any further assistance while you wait.

Customer: replied 3 years ago.

Thanks! I'll be patient, just need a ruby guru!

Hello and thank you for your question! It would be my pleasure to assist you with this.

Please download the Ruby file here:



This script includes both functions inside of a class called Exercise, along with lines to call and test the functions. If your run this with Ruby, you will see that they both work and meet the requirements perfectly.

I also added comments throughout for your benefit.

Let me know if you have any questions. I'm here to help!

If you require assistance in the future, please feel free to request me directly by starting your questions with **For TheDoctor**.

Please remember to rate my answer. Thank you so much and have a wonderful day!

Customer: replied 3 years ago.

Do i need to remove all the # XXXXX front of the 'defs' ruby is throwing errors...also should I add my string values with in (str)

I'm not getting errors at all in Ruby. Do you have ruby set up correctly? There are no hash marks in front of the defs in what I sent you.

Can you do a short screen share?

Go to Click on the big orange button to start a screen share. You will install some software. Once it is up and running, you will get a small dashboard at the top of your screen

That dashboard has a link in it. Copy that link and then paste it into this thread.

Thank you
Customer: replied 3 years ago.



Customer: replied 3 years ago.

k how do i invite you?

i set up wtfismushdoing haha

When you set up a meeting and get it running, a small dashboard will be open near the top of your computer screen. That dashboard has a link in it. Copy that link and then paste it here.

You need to spend $3 to view this post. Add Funds to your account and buy credits.
TheDoctor, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1757
Experience: M.S. in Internet Information Systems
TheDoctor and other Homework Specialists are ready to help you