davecom/ClassicComputerScienceProblemsInSwift

could use swift random (swift 4.2)

ctholho opened this issue · 1 comments

Line 145 and line 155 could be updated to use Float.random(in: 0 ... 1)

Yup, but the book was written before Swift 4.2, and we don't want the code here to get out of sync with the print edition.