Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Mitchell D.
Software Developer at Optiver US LLC.
Tutor Satisfaction Guarantee
Python Programming
TutorMe
Question:

Create a function that takes in an integer N. Make the function print in descending order the numbers N to 0.

Mitchell D.
Answer:

def printNNums(N): for i in range(N, -1, -1): print i

Java Programming
TutorMe
Question:

Write code that will print out integers 0 thru 10 in ascending order.

Mitchell D.
Answer:

public void printTenNums() { for ( i = 0; i < 11; i++) { System.out.println(i); } }

Algebra
TutorMe
Question:

Solve for x given the following equation: 3(x+3) = 5x

Mitchell D.
Answer:

Step 1) Multiply out the 3 on the left side. To make: 3x+9 = 5x Step 2) Move the 3x to the right side of the equation and change its sign. Giving: 9 = 5x-3x Step 3) Subtract 3x from 5x to give 2x. Thus: 9 = 2x Step 4) Divide each side of the equation by 2. This gives: x = 9/2

Send a message explaining your
needs and Mitchell will reply soon.
Contact Mitchell
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.