Nov-02-2019, 12:08 PM
Hi , for excluding everything, but integers i have found this code
isinstance(n,int). My Problem is, if i write
isinstance(n,int) == True and n!= True or False, 0 and 1 will not remain in my code. Is there any possibility, just to remove True and False, because i want to avoid that python gives an answer for True/n or False/n.