Give me a Python script that opens any website I want in a new Chrome tab. I should be able to just put in "google" and get "www.google.com" opened up. If it's not a www., end the program.
system
mujhe ek paythan script den jo kisi bhi website ko ek nae krom teb main kholti he.mujhe keval "Google" main daalane or "www.google.com" praapt karne main sakasham hona chahie.yadi yah www nahin he, to kaarykram samaapt karen.
user
thik he, is paythan code ko aapke liye kaam karnaa chahie:

`` `
# webabrosar librari kaa aayaat karen
aayaat webbrowser

# site kaa naam praapt karen
site = input ("us website kaa naam darj karen jise aap janaa chaahate hai:")

#
url_site = "https: // www."+ site + ".com"

koshish karnaa:
    webbrowser.get ("chrome"). Open_new_tab (url_site)
ke alaava:
    print ("vah website www.site.com praaroop kaa paalan nahin karti he.")
    todna
`` `

code `WebBrowser` librari kaa upyog karata he jise aapako ek nayaa teb kholane ke liye brouzar ko prompt bhejne kii aavashyaktaa hogi.yah site ke naam ke upyogkarta input ko `site` ke rup main sweekaar karata he or site ke naam ko ek URL main badalane ke liye aavashyak upsarg or pratyay ko jodta he, phir` url_site` url ko `.open_new_tab ()` `vidhi ke saath` .get ke saath paas karata he.() `krom brouzar ko nirdisht karne kii vidhi.`Try`/` ko chhodkar `block yah sunishchit karata he ki yah keval un websiton ke liye kaam karegaa jo` www.sitename.com` praaroop kaa paalan karte hai.yadi udghaatan kaa prayaas asafal he, to yah us upyogkarta ko suchit karegaa or kaarykram ko samaapt kar degaa.
assistant
<|system|>
</s>
<|user|>
mujhe ek paythan script den jo kisi bhi website ko ek nae krom teb main kholti he.mujhe keval "Google" main daalane or "www.google.com" praapt karne main sakasham hona chahie.yadi yah www nahin he, to kaarykram samaapt karen.</s>
<|assistant|>
thik he, is paythan code ko aapke liye kaam karnaa chahie:

`` `
# webabrosar librari kaa aayaat karen
aayaat webbrowser

# site kaa naam praapt karen
site = input ("us website kaa naam darj karen jise aap janaa chaahate hai:")

#
url_site = "https: // www."+ site + ".com"

koshish karnaa:
    webbrowser.get ("chrome"). Open_new_tab (url_site)
ke alaava:
    print ("vah website www.site.com praaroop kaa paalan nahin karti he.")
    todna
`` `

code `WebBrowser` librari kaa upyog karata he jise aapako ek nayaa teb kholane ke liye brouzar ko prompt bhejne kii aavashyaktaa hogi.yah site ke naam ke upyogkarta input ko `site` ke rup main sweekaar karata he or site ke naam ko ek URL main badalane ke liye aavashyak upsarg or pratyay ko jodta he, phir` url_site` url ko `.open_new_tab ()` `vidhi ke saath` .get ke saath paas karata he.() `krom brouzar ko nirdisht karne kii vidhi.`Try`/` ko chhodkar `block yah sunishchit karata he ki yah keval un websiton ke liye kaam karegaa jo` www.sitename.com` praaroop kaa paalan karte hai.yadi udghaatan kaa prayaas asafal he, to yah us upyogkarta ko suchit karegaa or kaarykram ko samaapt kar degaa.</s>
