Skip to content

Commit 183cfcf

Browse files
committed
migrating montyhall to swift 3
1 parent 2da215d commit 183cfcf

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Monty Hall Problem/MontyHall.playground/Contents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import Foundation
44

5-
func random(n: Int) -> Int {
5+
func random(_ n: Int) -> Int {
66
return Int(arc4random_uniform(UInt32(n)))
77
}
88

Monty Hall Problem/MontyHall.playground/timeline.xctimeline

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)