q4 scrabble challenge dictionaries 15 points purpose use python dictio
Q4 Scrabble Challenge Dictionaries
Purpose: Use Python dictionaries in the context of a simple game application.
Complete the SCRABBLE CHALLENGE from lecture:
Create a dictionary tile_counts mapping letters to counts of tiles, and
• a dictionary tile_points mapping letters to points.
From https://en.wikipedia.org/wiki/Scrabble letter_distributions#English:
Table of scrabble tile counts/frequencies by value,
e.g., there are 3 "G" tiles, worth 2 points each
1: Ex12 Ax9 1×9 0x8 Nx6 Rx6 Tx6 Lx4 SX4 UX4
2: Dx4 Gx3
3: Bx2 Cx2 Mx2 Px2
4: Fx2 Hx2 Vx2 Wx2 Yx2
8: J X
Then, iterate over the keys to print a table that would start like this:
Letter Count Points
3/nTurn In: Cut-and-Paste of your dictionary assignments and your output in the box below.
Special Turn-In Instructions:
Call your notebook Scrabble.ipynb
• Press the "Share" button in the upper right hand corner of the Colab window (to the left of the gear icon and
circle with your initial(s)). Click on "Change to anyone with the link" in the bottom left of the popup. Then click
the "Copy Link" button, and then "Done". Paste the link here (using your usual paste command, e.g., CTRL-V or
Command-V). You can check the link works by trying it in a browser where you are not logged into Google.
*The amount will be in form of wallet points that you can redeem to pay upto 10% of the price for any assignment. **Use of solution provided by us for unfair practice like cheating will result in action from our end which may include permanent termination of the defaulter’s account.Disclaimer:The website contains certain images which are not owned by the company/ website. Such images are used for indicative purposes only and is a third-party content. All credits go to its rightful owner including its copyright owner. It is also clarified that the use of any photograph on the website including the use of any photograph of any educational institute/ university is not intended to suggest any association, relationship, or sponsorship whatsoever between the company and the said educational institute/ university. Any such use is for representative purposes only and all intellectual property rights belong to the respective owners.