Update luckynumber.py

added random value support