<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">If you’re on Linux:<div class=""><br class=""></div><div class=""><div class="">import Glibc</div><div class="">print(“A random number is \(random())”)</div><div class=""><br class=""></div><div class="">If you’re on OSX:</div><div class=""><br class=""></div><div class=""><div class="">import Darwin</div><div class="">print(“A random number is \(random())”)</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On 11 Dec 2015, at 14:21, Piero Sabino via swift-users &lt;<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div class="">I want to print to video 6 random numbers from a range of values</div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=4UsVFgIJDmjEl1-2Bp4dkDdfPyHFijFe3gbZsM1qGcraWfBgGLgT7aT3wPuv9jB9hwt11kAysh5kxZB-2BfPiZjzJGqxphM5ch7v-2BvWyoIsHy0Z9OEM18YIO2EepFXIhzFwQ478UQfaDbZrIFExVm7Ve2gGeSJRIs2icw52POf3fToIk8zDL39iFNxJLBU4PLQRSaAoxb4JDVp-2FQfeCh584YpQ6GY7cn4QXBCZAx9gKdWIw-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;" class="">
</div>

_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-users<br class=""></div></blockquote></div><br class=""></div></body></html>