I have a list of Scrabble letters and a list of the points associated with each letter. Using Python, can you show me how to get the total points of a word like in Scrabble? For example, the word "APPLE" should return a score of 9 points. The lists are below:
scrabble_letters = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", ""]
scrabble_points = [1, 3, 3, 2, 1, 4, 2, 4, 1, 8, 5, 1, 3, 4, 1, 3, 10, 1, 1, 1, 1, 4, 4, 8, 4, 10, 0]
system
mere paas scrable aksharon kii ek suchi or prayek akshar se jude binduon kii ek suchi he.paythan kaa upyog karte hue, kya aap mujhe dikhaa sakate hai ki scrable jaise shabd ke kul bindu kaise praapt karen?udhaaharan ke liye, "Apple" shabd ko 9 ankon kaa score waapas karnaa chahie.suchi neeche hai:
scrabble_letters = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "em", "en", "o", "pi", "kyuu", "aar", "es", "tii", "you", "ve", "dablyoo", "eks", "Y "," z "," "]]
scrabble_points = [1, 3, 3, 2, 1, 4, 2, 4, 1, 8, 5, 1, 3, 4, 1, 3, 10, 1, 1, 1, 1, 4, 4, 8, 4, 10, 0]
user
zarur!prayek akshar se sambandhit binduon ko jodakar ek shabd score karne ke liye, aap ek shabdkosh banaakar shuru kar sakate hai jisamen scrable_letters or scrable_points se ek kunjee-mulya jodi he.phir aap ek fnction bana sakate hai jo ek shabd ko ek tark ke rup main sweekaar karata he.us fnction ke bheetar, aap shabd ke madhyam se loop kar sakate hai or prayek akshar se ank jod sakate hai, phir us shabd ke liye kul binduon ko waapas kar sakate hai.mujhe neeche die gaye code ko dikhaate hai:

`` `paythan
scrabble_letters = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "em", "en", "o", "pi", "kyuu", "aar", "es", "tii", "you", "ve", "dablyoo", "eks", "Y "," z "," "]]
scrabble_points = [1, 3, 3, 2, 1, 4, 2, 4, 1, 8, 5, 1, 3, 4, 1, 3, 10, 1, 1, 1, 1, 4, 4, 8, 4, 10, 0]

# patr kaa ek shabdkosh banaaen: bindu jode
Latter_to_points = {kunjee: kunjee ke liye maan, ZIP main maan (Scrabble_letters, scrabble_points)}

# shabd score karata he
DEF SCORE_THE_WORD (verde):
  word = word.upper ()
  point_total = 0
  shabd main patr ke liye:
    point_total += later_to_points.get (patr, 0)
  Pint_total lauten

# "Apple" shabd ke liye score praapt karen
Apple_points = score_the_word ("Apple")
print (Apple_points)
# output: 9
`` `
assistant
<|system|>
</s>
<|user|>
mere paas scrable aksharon kii ek suchi or prayek akshar se jude binduon kii ek suchi he.paythan kaa upyog karte hue, kya aap mujhe dikhaa sakate hai ki scrable jaise shabd ke kul bindu kaise praapt karen?udhaaharan ke liye, "Apple" shabd ko 9 ankon kaa score waapas karnaa chahie.suchi neeche hai:
scrabble_letters = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "em", "en", "o", "pi", "kyuu", "aar", "es", "tii", "you", "ve", "dablyoo", "eks", "Y "," z "," "]]
scrabble_points = [1, 3, 3, 2, 1, 4, 2, 4, 1, 8, 5, 1, 3, 4, 1, 3, 10, 1, 1, 1, 1, 4, 4, 8, 4, 10, 0]</s>
<|assistant|>
zarur!prayek akshar se sambandhit binduon ko jodakar ek shabd score karne ke liye, aap ek shabdkosh banaakar shuru kar sakate hai jisamen scrable_letters or scrable_points se ek kunjee-mulya jodi he.phir aap ek fnction bana sakate hai jo ek shabd ko ek tark ke rup main sweekaar karata he.us fnction ke bheetar, aap shabd ke madhyam se loop kar sakate hai or prayek akshar se ank jod sakate hai, phir us shabd ke liye kul binduon ko waapas kar sakate hai.mujhe neeche die gaye code ko dikhaate hai:

`` `paythan
scrabble_letters = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "em", "en", "o", "pi", "kyuu", "aar", "es", "tii", "you", "ve", "dablyoo", "eks", "Y "," z "," "]]
scrabble_points = [1, 3, 3, 2, 1, 4, 2, 4, 1, 8, 5, 1, 3, 4, 1, 3, 10, 1, 1, 1, 1, 4, 4, 8, 4, 10, 0]

# patr kaa ek shabdkosh banaaen: bindu jode
Latter_to_points = {kunjee: kunjee ke liye maan, ZIP main maan (Scrabble_letters, scrabble_points)}

# shabd score karata he
DEF SCORE_THE_WORD (verde):
  word = word.upper ()
  point_total = 0
  shabd main patr ke liye:
    point_total += later_to_points.get (patr, 0)
  Pint_total lauten

# "Apple" shabd ke liye score praapt karen
Apple_points = score_the_word ("Apple")
print (Apple_points)
# output: 9
`` `</s>
