Welcome to the forum Ann.
I grew up with smoking parents. This was before cancer was a proven side effect, so they smoked VERY heavily as well as all guests.
We had indoor dogs and cats that lived 14-16 yrs.
I bet there are smokers here on the forum with healthy snakes.
For killing smoke odor I have found that the combination of fresh air and sunlight do wonders. Sometimes it takes a few days. Obviously this isn't the best time of year for that method.
If it takes a Vet visit for peace of mind go for it. Otherwise use that money for proper equipment, food, and husbandry.
How about some photos of your new snake?
Enjoy