I need a Python script that will calculate the mass of a chemical sample based on an input number of moles and molar mass.
system
mujhe ek paythan script kii aavashyaktaa he jo mols or dadh dravyaman ke input sankhya ke aadhaar par ek rasinic namoonay ke dravyaman kii gananaa karegaa.
user
main aapke liye ek script likh saktaa hum jo us input ke aadhaar par ek rasayan ke dravyaman kii gananaa karegaa.yah kaam karnaa chahie:

moles = int (input ("rasinic namoonay main kitne mol hai?:"))
molar_mass = int (input ("rasayan kaa dadh dravyaman kya he?:"))
dravyaman = moles * molar_mass
print (f "rasinic namoona vajan {dravyaman}.")

yah `input ()` fnction kaa upyog karke char `mols` or` molr_maas` ke liye input letaa he or un donon ko `int ()` ke saath purnank main parivartit karata he.saral `*` oparator tab mols se kul dravyaman praapt karne ke liye do purnank ko guna karata he or prati mol ke dravyaman ko samay detaa he.yah tab rasinic namoonay ke dravyaman ko print karata he.
assistant
<|system|>
</s>
<|user|>
mujhe ek paythan script kii aavashyaktaa he jo mols or dadh dravyaman ke input sankhya ke aadhaar par ek rasinic namoonay ke dravyaman kii gananaa karegaa.</s>
<|assistant|>
main aapke liye ek script likh saktaa hum jo us input ke aadhaar par ek rasayan ke dravyaman kii gananaa karegaa.yah kaam karnaa chahie:

moles = int (input ("rasinic namoonay main kitne mol hai?:"))
molar_mass = int (input ("rasayan kaa dadh dravyaman kya he?:"))
dravyaman = moles * molar_mass
print (f "rasinic namoona vajan {dravyaman}.")

yah `input ()` fnction kaa upyog karke char `mols` or` molr_maas` ke liye input letaa he or un donon ko `int ()` ke saath purnank main parivartit karata he.saral `*` oparator tab mols se kul dravyaman praapt karne ke liye do purnank ko guna karata he or prati mol ke dravyaman ko samay detaa he.yah tab rasinic namoonay ke dravyaman ko print karata he.</s>
