An electronic device , comprising: a display ; a position measurement module configured to receive a satellite signal from a satellite and output position information about the electronic device; at least one sensor configured to sense at least one of a motion of the electronic device and a posture of the electronic device; at least one processor operatively connected with the display , the position measurement module, and the at least one sensor; and a memory operatively connected with the at least one processor , wherein the memory stores instructions configured to, when executed, enable the at least one processor to: based on the position information about the electronic device not being obtained by the position measurement module, identify, a workout environment of a user of the electronic device as a pool environment, and control the display to display a first screen including at least part of information corresponding to the pool environment based on sensing data obtained via the at least one sensor, obtain the position information about the electronic device by the position measurement module, based on the obtained position information about the electronic device corresponding to a recursive pattern, identify the workout environment as the pool environment, and control the display to display the first screen, based on the obtained position information about the electronic device not corresponding to the recursive pattern, identify the workout environment as an outdoor environment, and control the display to display a second screen including at least part of information corresponding to the outdoor environment based on the sensing data and the obtained position information about the electronic device. a display ; a position measurement module configured to receive a satellite signal from a satellite and output position information about the electronic device; at least one sensor configured to sense at least one of a motion of the electronic device and a posture of the electronic device; at least one processor operatively connected with the display , the position measurement module, and the at least one sensor; and a memory operatively connected with the at least one processor , wherein the memory stores instructions configured to, when executed, enable the at least one processor to: based on the position information about the electronic device not being obtained by the position measurement module, identify, a workout environment of a user of the electronic device as a pool environment, and control the display to display a first screen including at least part of information corresponding to the pool environment based on sensing data obtained via the at least one sensor, obtain the position information about the electronic device by the position measurement module, based on the obtained position information about the electronic device corresponding to a recursive pattern, identify the workout environment as the pool environment, and control the display to display the first screen, based on the obtained position information about the electronic device not corresponding to the recursive pattern, identify the workout environment as an outdoor environment, and control the display to display a second screen including at least part of information corresponding to the outdoor environment based on the sensing data and the obtained position information about the electronic device. <EOS>