TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Mary Anne S.
Indiana University graduate with three degrees and a 4.0 GPA
Tutor Satisfaction Guarantee
Python Programming
TutorMe
Question:

Fix the bug in this python program that calculates the sum of items in a list. def myListSum(inputList): return inputList[0] + myListSum(inputList[1:]) Examples: myListSum( [ 1, 2, 3 ] ) should return 6 myListSum( [ ] ) should return 0

Mary Anne S.
Answer:

We need to add a base case for this recursive solution to work. def myListSum(inputList): if len(inputList) == 0: return 0 else: return inputList[0] + myListSum(inputList[1:])

Writing
TutorMe
Question:

Which of the following is the strongest thesis statement for an essay about the benefits of foreign language study? Why? A) In this essay, I am going to tell you why studying a foreign language can benefit your life in a variety of diverse ways and why you should start studying a foreign language. B) Although learning a foreign language can be difficult, there are many advantages to foreign language study. C) While many people already realize that studying a foreign language can increase job prospects, foreign language study also has additional cognitive and social benefits.

Mary Anne S.
Answer:

C is the best answer. Let's talk about why. Option A uses many words to say very little. For example, the phrase "a variety of diverse ways" is redundant. Option B is similarly vague and boring; it doesn't give the reader a great idea of what information the remainder of the essay will contain. Option C, on the other hand, provides specific examples of the kinds of benefits that foreign language study provides. The reader can expect to see arguments and examples for each of these types of benefits in the paragraphs that follow.

Calculus
TutorMe
Question:

What is one example of a real-world problem that can be solved with calculus?

Mary Anne S.
Answer:

Calculus is often useful in solving physics problems. For example, if we have a plot of the position of a particle over time, we can find the velocity of the particle at any given point in time by calculating the derivative at a point.

Send a message explaining your
needs and Mary Anne will reply soon.
Contact Mary Anne
Ready now? Request a lesson.
Start Session
FAQs
What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Session" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.