Python


            # Program to generate a random number between 0 and 9

    # importing the random module
    import random
    
    print(random.randint(0,9))