python
  • python
Is any body looking at the first word games assignment? I feel like the course didn't really create a method to analyze the list of letters
MIT 6.00 Intro Computer Science (OCW)
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
chestercat
  • chestercat
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
python
  • python
and create a score. In the lecture the prof goes over one type of list and doesnt explain the type given in the assignment.
shadowfiend
  • shadowfiend
Is there something in particular that you want help with though? Which part doesn't make sense?
python
  • python
SCRABBLE_LETTER_VALUES = { 'a': 1, 'b': 3, 'c': 3, 'd': 2, 'e': 1, 'f': 4, 'g': 2, 'h': 4, 'i': 1, 'j': 8, 'k': 5, 'l': 1, 'm': 3, 'n': 1, 'o': 1, 'p': 3, 'q': 10, 'r': 1, 's': 1, 't': 1, 'u': 1, 'v': 4, 'w': 4, 'x': 8, 'y': 4, 'z': 10 }

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

python
  • python
how do I interact with this list, how do I search for the value of for example "c"
python
  • python
the example shown in the lecture had the format, L = [['un', 'one'], ['deux', 'two']]
shadowfiend
  • shadowfiend
You can look up a value in a dictionary like that using []. So in the case above, SCRABBLE_LETTER_VALUES['c'] should be 3.
python
  • python
THank you very much!!
shadowfiend
  • shadowfiend
No problem. Feel free to ask more questions :)

Looking for something else?

Not the answer you are looking for? Search for more explanations.