How I created this
I used swift to achieve this
Code
Here is the code for it:
import Foundation
let lowerBound = 0
let upperBound = 500
let randomNumber = lowerBound + Int(arc4random_uniform(UInt32(upperBound - lowerBound + 1)))
print(randomNumber)
