In a survey of teenagers, 23 responded that they got regular exercise, and 45 of those said that walking was their main form of exercise. What fraction of the teenagers mainly exercise by walking?

To find the fraction of teenagers who mainly exercise by walking, we divide the number of teenagers who mainly exercise by walking by the total number of teenagers who responded that they get regular exercise: $45/23= \boxed{\frac{45}{23}}$.