Subjects
PRICING
TEST PREP
SIGN IN
Start Free Trial
Sean P.
Student at Carnegie Mellon University
Tutor Satisfaction Guarantee
Python Programming
TutorMe
Question:

How do you create a 2D-list in Python?

Sean P.
Answer:

Python does not recognize a 2d-list as a built-in data type. This can be worked around by storing lists in a 1d-list as follows: def make2dList(rows, cols): a=[] for row in range(rows): a += [[0]*cols] return a

Korean
TutorMe
Question:

How do you ask how much something is in Korean?

Sean P.
Answer:

The Korean word for "this" is colloquially "이거"(i-geo). To ask how much, pair the object up with the phrase "-얼마에요?"(eol-ma-e-yo?). Therefore, to ask "how much is this?", you'd say "이거 얼마에요?"

Computer Science (General)
TutorMe
Question:

What is the difference between an ArrayList and a List in Java?

Sean P.
Answer:

List is an interface; the ArrayList class implements the List interface. Therefore, the following line will compile: ArrayList <String> aListOfStr = new ArrayList<String>(); while the following won't: List<String> aListOfStr = new List<String>();

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