I'm not entirely sure how to go about this. Any assistance is appreciated, sorry for the rookie question.
if input_num != 8 or 16 or 32 or 64 or 128 or 256:
#some function
I think the problem is the 'or', I don't think this is the correct way to do this.