Skip to content

Commit e22b376

Browse files
authored
Merge pull request kodecocodes#241 from sendilkumarn/monty-hall
migrating montyhall to swift 3
2 parents f895ba1 + 183cfcf commit e22b376

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)