Rename file, extend rules a bit
This commit is contained in:
parent
012719682c
commit
5820436b11
1 changed files with 2 additions and 2 deletions
|
@ -2,9 +2,9 @@
|
|||
|
||||
import argparse
|
||||
|
||||
def verifier(i1, i2):
|
||||
def haps(i1, i2):
|
||||
try:
|
||||
if int(max(i1, i2)) / 2 + 7 > int(min(i1, i2)) or int(min(i1, i2)) < 14:
|
||||
if (max(i1, i2) / 2 + 7 > min(i1, i2) and max(i1, i2) - min(i1, i2) > 2) or (min(i1, i2) < 14 and (max(i1, i2) - min(i1, i2) > 1) or min(i1, i2) < 12):
|
||||
return False
|
||||
return True
|
||||
except ValueError:
|
Loading…
Reference in a new issue