How do you create a 2D-list in Python?
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 += [*cols] return a
How do you ask how much something is in Korean?
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 "이거 얼마에요?"
What is the difference between an ArrayList and a List in Java?
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>();