They are actually poikilothermic and ectothermic: their body temperature depends directly on the external environment. A snake in a room at 20°C is at 20°C. In a room at 30°C, it is at 30°C.
Since they don't burn calories to maintain a stable internal temperature as we do, the expression "cold-blooded" is a simplification — but in summer, their temperature can be higher than ours.