TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Aman D.
Former Intern at Qualcomm | Machine Learning / Deep Learning Geek | Math Lover
Tutor Satisfaction Guarantee
Python Programming
TutorMe
Question:

With a given list [12,24,35,24,88,120,155,88,120,155], write a program to print this list after removing all duplicate values with original order reserved. Hints: Use set() to store a number of values without duplicate.

Aman D.
Answer:

def removeDuplicate( li ): newli=[] seen = set() for item in li: if item not in seen: seen.add( item ) newli.append(item) return newli li=[12,24,35,24,88,120,155,88,120,155] print removeDuplicate(li)

Machine Learning
TutorMe
Question:

Why is Naive Bayes ‘naive’ ?

Aman D.
Answer:

Naive Bayes is ‘naive’ because it assumes that all of the features in a data set are equally important and independent. As we know, these assumption are rarely true in real world scenario.

Calculus
TutorMe
Question:

Find: $$ \lim_{x \to +\infty} \frac{3x^2 +7x^3}{x^2 +5x^4} $$

Aman D.
Answer:

$$ \lim_{x \to +\infty} \frac{3x^2 +7x^3}{x^2 +5x^4} = \lim_{x \to +\infty} \frac{3/x^2 +7/x}{1/x^2 +5} = \frac{0 +0}{0 +5} = 0 $$

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