Jul-29-2020, 12:47 PM
I solved it. I realised that random.sample(range() was a list of numbers, which I was trying to compare to an integer. Instead I used
number = random.randint( 0,100), which solved my problem