Can you write me a function in python that takes an input list, then returns a list with all duplicate elements removed with order retained? I'd like you to use a lambda function to accomplish this.
system
kya aap mujhe paythan main ek fnction likh sakate hai jo ek input suchi letaa he, phir order ke saath hataae gaye sabhi dupliket tatwon ke saath ek suchi detaa he?main chaahunga ki aap ise puraa karne ke liye ek lambda fnction kaa upyog karen.
user
main us ke saath madad karne ke liye khush hoon!aapane jo kuch bhi maanga, use puraa karne ke liye, ham pehle ek set banaate hai taaki ham trek kar saken ki hamane pehle se hi ek tatv joda he yaa nahin.phir, ham filter vidhi kaa upyog karenge, jo keval un tatwon se guzrenge jo kisi die gaye fnction main sahi moolyankan karte hai or ise ek lambda fnction asin karte hai jo yah jaanchataa he ki diya gaya tatv maujuuda set main he yaa nahin.dhyaan den ki paythan main, ADD vidhi koi bhi nahin lautati he or anya bhashaaon jaise ki java jaisi tatv ke astitv ke bare main koi bhi bulian mulya nahin he.to hamaare lambda fnction kaa ritern statement pehle jaanchataa he ki X pehle se hi set main he yaa nahin.yadi yah set main nahin he, to ham set main element eks ko jodna chaahate hai or sahi waapas karnaa chaahate hai (isliye kisi ke maan se sahi waapas karne ke liye, hamen iske saamne ek sthiti nahin jodna chahie).

dief adwitiya (en):
    joda = set ()
    ritern list (filter (lambda eks: (eks main nahin joda gaya or nahin joda gaya.
assistant
<|system|>
</s>
<|user|>
kya aap mujhe paythan main ek fnction likh sakate hai jo ek input suchi letaa he, phir order ke saath hataae gaye sabhi dupliket tatwon ke saath ek suchi detaa he?main chaahunga ki aap ise puraa karne ke liye ek lambda fnction kaa upyog karen.</s>
<|assistant|>
main us ke saath madad karne ke liye khush hoon!aapane jo kuch bhi maanga, use puraa karne ke liye, ham pehle ek set banaate hai taaki ham trek kar saken ki hamane pehle se hi ek tatv joda he yaa nahin.phir, ham filter vidhi kaa upyog karenge, jo keval un tatwon se guzrenge jo kisi die gaye fnction main sahi moolyankan karte hai or ise ek lambda fnction asin karte hai jo yah jaanchataa he ki diya gaya tatv maujuuda set main he yaa nahin.dhyaan den ki paythan main, ADD vidhi koi bhi nahin lautati he or anya bhashaaon jaise ki java jaisi tatv ke astitv ke bare main koi bhi bulian mulya nahin he.to hamaare lambda fnction kaa ritern statement pehle jaanchataa he ki X pehle se hi set main he yaa nahin.yadi yah set main nahin he, to ham set main element eks ko jodna chaahate hai or sahi waapas karnaa chaahate hai (isliye kisi ke maan se sahi waapas karne ke liye, hamen iske saamne ek sthiti nahin jodna chahie).

dief adwitiya (en):
    joda = set ()
    ritern list (filter (lambda eks: (eks main nahin joda gaya or nahin joda gaya.</s>
