i am getting what you say but teacher said to use randit.The thing is how to generate 2 variables at the same time (x,y).
if i had one variable x that should be something like
but i can't find a way to generate 2 variables at the same time since i can't write for example range(1-12,1-29)
if i had one variable x that should be something like
a=[] for j in range(n): a.append(random.randint(1,12)) print('Randomised list is: ',a)Same with y.
but i can't find a way to generate 2 variables at the same time since i can't write for example range(1-12,1-29)