Shahrokhpk commited on
Commit
b59cd1d
·
verified ·
1 Parent(s): 79beb39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -13,13 +13,8 @@ from typing import List
13
 
14
 
15
  def has_close_elements(numbers: List[float], threshold: float) -> bool:
16
- """ Check if in given list of numbers, are any two numbers closer to each other than
17
- given threshold.
18
- >>> has_close_elements([1.0, 2.0, 3.0], 0.5)
19
- False
20
- >>> has_close_elements([1.0, 2.8, 3.0, 4.0, 5.0, 2.0], 0.3)
21
- True
22
- """
23
  """
24
  messages = [
25
  {"role": "user", "content": prompt}
 
13
 
14
 
15
  def has_close_elements(numbers: List[float], threshold: float) -> bool:
16
+
17
+
 
 
 
 
 
18
  """
19
  messages = [
20
  {"role": "user", "content": prompt}