Create a script for me with Python code that will remove all non-alphabetical characters from a string and print it.
system
mere liye paythan code ke saath ek script banaaen jo ek string se sabhi gaiyr-alfebetic varnon ko hataa degaa or ise print karegaa.
user
maine is paythan script ko banaaya jo ek string se gaiyr-alfebetical varnon ko chin legi or varnmaala varnon ko print karegi:

# ek string praapt karen
paath = input ("ek string darj karen:")

# nae string ko store karne ke liye ek char banaaen
alpha_text = ""

# gaiyr-alfebetical varna nikaalen
paath main charitra ke liye:
    yadi character.isalpha ():
        alpha_text = alpha_text + varna

# nayaa string print karen
print (alpha_text)

yah script `input ()` ke saath ek string ko sweekaar karti he, char `paath` ko paribhaashit karne ke liye, phir sanshodhit saamagree ko rakhane ke liye ek nayaa khaali `alpha_text` char banaata he.`For` loop` paath` main prayek charitra par punrarit hota he, yah jaanchata he ki kya prayek `isalpha ()` ke saath ek varnmaala charitra he.yadi yah he, to charitra ko `alpha_text` string main joda jaataa he.varnmaala varnon kii purna string ko `print ()` ke saath mudrit kiya gaya he.
assistant
<|system|>
</s>
<|user|>
mere liye paythan code ke saath ek script banaaen jo ek string se sabhi gaiyr-alfebetic varnon ko hataa degaa or ise print karegaa.</s>
<|assistant|>
maine is paythan script ko banaaya jo ek string se gaiyr-alfebetical varnon ko chin legi or varnmaala varnon ko print karegi:

# ek string praapt karen
paath = input ("ek string darj karen:")

# nae string ko store karne ke liye ek char banaaen
alpha_text = ""

# gaiyr-alfebetical varna nikaalen
paath main charitra ke liye:
    yadi character.isalpha ():
        alpha_text = alpha_text + varna

# nayaa string print karen
print (alpha_text)

yah script `input ()` ke saath ek string ko sweekaar karti he, char `paath` ko paribhaashit karne ke liye, phir sanshodhit saamagree ko rakhane ke liye ek nayaa khaali `alpha_text` char banaata he.`For` loop` paath` main prayek charitra par punrarit hota he, yah jaanchata he ki kya prayek `isalpha ()` ke saath ek varnmaala charitra he.yadi yah he, to charitra ko `alpha_text` string main joda jaataa he.varnmaala varnon kii purna string ko `print ()` ke saath mudrit kiya gaya he.</s>
