Write me a program in Python that will find the sum of the squares of the values in an array, please.
system
mujhe paythan main ek kaarykram likhen jo ek sarani main mulyon ke virgon kaa yoga milegaa, kripaya.
user
nishchit rup se, maine yah kaarykram likhaa he jo ek sarani main sabhi mulyon ke virgon ko sametane ke liye fnction `sum_squares (array_list)` banaata he:

# ek sarani par punrariti karne ke liye ek fnction ko paribhaashit karen or sarani main prayek maan ke virgon ko yoga karen
DEF SUM_SQUARES (ARRAY_LIST):
    # prayek varg ko jodne ke liye ek yoga maan banaaen
    array_sum = 0
    # sarani main prayek maan par punrariti karen or ise joden
    ke liye main array_list main:
        array_sum = array_sum + (i ** 2)
 # sarani se virgon kaa yoga lautaaen
    vaapasi (array_sum)

# ek suchi main sarani maan darj karen
Array_list = [1, 2, 3, 4]

sum2 = sum_squares (array_list)

# virgon kaa yoga print karen
print (f "sarani ke virgon kaa yoga {sum2} he.")

yah code `sum_squares (Array_list)` fnction ko paribhaashit karata he jo `Array_list` main prayek maan ke varg ko sametane ke liye` Array_list` ke tark ko sweekaar karata he.yah ek char `Array_sum` ko 0 par set karata he, phir sarani main har maan par punrariti karne ke liye ek` for` loop kaa upyog karata he, ise varg karata he, or ise `array_sum` main jodta he.`Array_list` sankhyaon kii ek sarani ko ek suchi main parivartit karata he jise` sum_squares (array_list) `ke tark ke rup main paarit kiya ja saktaa he.`Sum2` ko paribhaashit karne ke liye fnction ko kol karne se Sum2 kaa maan` Array_sum` par set ho jayega jo fnction lautataa he.code tab sarani main virgon ke yoga ko output karne ke liye `print ()` kaa upyog karata he.
assistant
<|system|>
</s>
<|user|>
mujhe paythan main ek kaarykram likhen jo ek sarani main mulyon ke virgon kaa yoga milegaa, kripaya.</s>
<|assistant|>
nishchit rup se, maine yah kaarykram likhaa he jo ek sarani main sabhi mulyon ke virgon ko sametane ke liye fnction `sum_squares (array_list)` banaata he:

# ek sarani par punrariti karne ke liye ek fnction ko paribhaashit karen or sarani main prayek maan ke virgon ko yoga karen
DEF SUM_SQUARES (ARRAY_LIST):
    # prayek varg ko jodne ke liye ek yoga maan banaaen
    array_sum = 0
    # sarani main prayek maan par punrariti karen or ise joden
    ke liye main array_list main:
        array_sum = array_sum + (i ** 2)
 # sarani se virgon kaa yoga lautaaen
    vaapasi (array_sum)

# ek suchi main sarani maan darj karen
Array_list = [1, 2, 3, 4]

sum2 = sum_squares (array_list)

# virgon kaa yoga print karen
print (f "sarani ke virgon kaa yoga {sum2} he.")

yah code `sum_squares (Array_list)` fnction ko paribhaashit karata he jo `Array_list` main prayek maan ke varg ko sametane ke liye` Array_list` ke tark ko sweekaar karata he.yah ek char `Array_sum` ko 0 par set karata he, phir sarani main har maan par punrariti karne ke liye ek` for` loop kaa upyog karata he, ise varg karata he, or ise `array_sum` main jodta he.`Array_list` sankhyaon kii ek sarani ko ek suchi main parivartit karata he jise` sum_squares (array_list) `ke tark ke rup main paarit kiya ja saktaa he.`Sum2` ko paribhaashit karne ke liye fnction ko kol karne se Sum2 kaa maan` Array_sum` par set ho jayega jo fnction lautataa he.code tab sarani main virgon ke yoga ko output karne ke liye `print ()` kaa upyog karata he.</s>
