Network disconnected
Description
트라이애슬론은 수영, 사이클, 달리기가 합쳐진 운동으로, 우리에게 철인 3종 경기라는 이름으로 잘 알려져 있습니다. 트라이애슬론에는 단거리 경주인 sprint와 장거리 경기인 ironMan 경기가 있습니다.
ironMan경기의 사이클 거리가 sprint경기의 사이클 거리의 몇배인지를 times
에 저장하고 싶습니다. 코드 5번째 줄의 _____
를 수정해서 times에 값을 저장하세요.
Fill type challenge HOWTO
- In the Fill type challenge, you have to fill the blank with appropriate code
- The given code except the blank cannot be edited.
- An error message will be shown in the Result area when you leave the blank empty.
1
2
3
4
5
6
7
8
9
import Foundation
typealias Triathlon = (swim:Int, cycle:Int, running:Int)
let sprint = Triathlon(750, 20000, 5000)
let ironMan = Triathlon(3800, 180000, 42200)
let times =
print(times)
Result
Stop
Result of [Run] or [Submit] will be displayed here