I want you to create a Python function that returns 10 random items from a list of 1000 items that is provided as an argument.
system
main chahta hum ki aap ek paythan fnction banaaen jo ek tark ke rup main pradaan kii jane vaali 1000 vastuon kii suchi se 10 yadrichhik item lautaata he.
user
yahaan aapkaa paythan fnction he jo ek suchi se 10 betaratib dhang se chune gaye item lautaata he.yah modul `yadrichhik` aayaat karata he or is prakriya ko aasaan banane main madad karne ke liye vidhi` namoona () `kaa upyog karata he.yah vidhi 2 tark leti he, vah suchi jise aap item se kheenchna chaahate hai, or un vastuon kii maatra jo aap kheenchna chaahate hai.fnction ek suchi ke rup main 10 item lautaata he.

`` `paythan
yadrichhik aayaat

def random_sample (suchi):
    random random. sample (suchi, 10)

suchi = seemaa (1000)
print (yadrichhik_plums (suchi))
`` `
assistant
<|system|>
</s>
<|user|>
main chahta hum ki aap ek paythan fnction banaaen jo ek tark ke rup main pradaan kii jane vaali 1000 vastuon kii suchi se 10 yadrichhik item lautaata he.</s>
<|assistant|>
yahaan aapkaa paythan fnction he jo ek suchi se 10 betaratib dhang se chune gaye item lautaata he.yah modul `yadrichhik` aayaat karata he or is prakriya ko aasaan banane main madad karne ke liye vidhi` namoona () `kaa upyog karata he.yah vidhi 2 tark leti he, vah suchi jise aap item se kheenchna chaahate hai, or un vastuon kii maatra jo aap kheenchna chaahate hai.fnction ek suchi ke rup main 10 item lautaata he.

`` `paythan
yadrichhik aayaat

def random_sample (suchi):
    random random. sample (suchi, 10)

suchi = seemaa (1000)
print (yadrichhik_plums (suchi))
`` `</s>
