dsPick a number 1 through 20 This is a Python Program to generate random numbers from 1 to 20 and append them to the…byJohn