Gistlib Logo

gistlib

other swift categories

random numbers code snippets in swift

create a password with a custom length and numbers in swift
create a seeded random number generator in swift
roll a die 20 times and print any adjacent repeated rolls in parentheses in swift
roll dice 10 times and print each result with its sum in swift

gistlibby LogSnag