Make a python function that takes two values and an integer. Then build an array of size n filled with the two given values alternating.
system
ek paythan fnction banaaen jo do maan or ek purnank letaa he.phir do die gaye maanon ke saath bhare hue aakaar n kii ek sarani kaa nirmaan karen.
user
zarur!yahan ek paythan samaadhaan he jo die gaye vaikalpik mulyon ke saath ek suchi banaata he.

dief vaikalpik (n, value1, value2):
    sarani = []
    ke liye main range main (n):
        agar main % 2 == 0:
            array.append (value1)
        anya:
            Array.Append (value2)

    vaapasi sarani

mujhe bataaen ki kya main aapaki aage madad kar saktaa hum.
assistant
<|system|>
</s>
<|user|>
ek paythan fnction banaaen jo do maan or ek purnank letaa he.phir do die gaye maanon ke saath bhare hue aakaar n kii ek sarani kaa nirmaan karen.</s>
<|assistant|>
zarur!yahan ek paythan samaadhaan he jo die gaye vaikalpik mulyon ke saath ek suchi banaata he.

dief vaikalpik (n, value1, value2):
    sarani = []
    ke liye main range main (n):
        agar main % 2 == 0:
            array.append (value1)
        anya:
            Array.Append (value2)

    vaapasi sarani

mujhe bataaen ki kya main aapaki aage madad kar saktaa hum.</s>
