code_prefix
stringlengths
5
669
full_code
stringclasses
570 values
varname
stringclasses
345 values
vartype
stringclasses
13 values
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
distance
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
elem
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
elem2
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
has_close_elements
bool
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
idx
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
idx2
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
numbers
list
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
threshold
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
distance
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
elem
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
elem2
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
idx
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
idx2
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
numbers
list
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
threshold
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
distance
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
elem
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
elem2
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
has_close_elements
bool
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
idx
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
idx2
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
numbers
list
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
threshold
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers):
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
elem
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers):
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
elem2
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers):
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
idx
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers):
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
idx2
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers):
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
numbers
list
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers):
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if idx != idx2: distance = abs(elem - elem2) if distance < threshold: has_close_elements = True has_close_elements = False
threshold
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2)
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
distance
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2)
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
elem
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2)
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
elem2
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2)
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
idx
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2)
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
idx2
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2)
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
numbers
list
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2)
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
threshold
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
distance
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
elem
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
elem2
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
idx
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
idx2
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
numbers
list
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
threshold
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
distance
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
elem
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
elem2
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
has_close_elements
bool
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
idx
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
idx2
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
numbers
list
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
threshold
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
distance
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
elem
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
elem2
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
idx2
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
numbers
list
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for distance, elem in enumerate(numbers): for idx2, elem2 in enumerate(numbers): if distance != idx2: idx = abs(elem - elem2) if idx < threshold: has_close_elements = True has_close_elements = False
threshold
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers):
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
elem
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers):
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
elem2
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers):
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
idx
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers):
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
idx2
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers):
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
numbers
list
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers):
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
threshold
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
distance
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
elem
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
elem2
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
has_close_elements
bool
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
idx
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
idx2
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
numbers
list
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
threshold
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
elem
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
elem2
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
idx
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
idx2
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
numbers
list
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
threshold
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
distance
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
elem
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
elem2
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
idx
float
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
idx2
int
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
numbers
list
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold:
numbers, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for elem, elem2 in enumerate(numbers): for idx2, idx in enumerate(numbers): if elem != idx2: distance = abs(elem2 - idx) if distance < threshold: has_close_elements = True has_close_elements = False
threshold
float
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements):
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
has_close_elements
list
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements):
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
idx
int
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements):
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
numbers
float
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements):
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
threshold
float
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
has_close_elements
list
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
threshold
float
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
distance
bool
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
elem
float
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
elem2
float
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
has_close_elements
list
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
idx
int
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
idx2
int
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
numbers
float
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
threshold
float
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
distance
bool
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True
has_close_elements, threshold = [1.1, 2.2, 3.1, 4.1, 5.1], 1.0 for idx, numbers in enumerate(has_close_elements): for idx2, elem2 in enumerate(has_close_elements): if idx != idx2: elem = abs(numbers - elem2) if elem < threshold: distance = True distance = False
elem
float
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
35
Edit dataset card