Generate intereger random number between user choice


Topic: Generate intereger random number between user choice

Solution

def gen_ran_int_number(lower, upper):
    import random
    final = [ random.randint(lower, upper) for _ in range(10) ]
    return final



List all Python Programs