Most babies are skittish, but calm down with growth and with regular handling. If by "petting" you mean stroking or scratching like with a dog or cat, I don't know if the snakes enjoy it or not. Some give every appearance of liking to be handled. Some of mine are classroom pets and quite tolerant of petting, but I wouldn't say they enjoy it. Climbing around on people-trees or curling up in a warm spot they like; petting they don't mind, but don't seek.