import random
a=input("Enter the start value:                                                      ")#Asks for the first value
b=input("Enter the Finish value:                                                     ")#Asks for the Finish value

e = int(a) #turns the input values to integer so it can be randomised
f = int(b)

d = random.randrange(e,f)
print("The random number is:",d)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: