From the Super Mario Wiki
The Driving Range is a course in Mario Golf. The hole holds 5 greens and has multiple signs marking yardage. The driving range can only be accessed in the training menu. After the player makes a swing, the only options are to Mulligan or Hole Out.