namth10 commited on
Commit
342c060
·
verified ·
1 Parent(s): dd6d787

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -14,11 +14,8 @@ def calculate_probability(total_outcomes: int, desired_outcomes: int)-> float: #
14
  """Calculate the probability of an event in the sample space.
15
 
16
  Args:
17
- total_outcomes (int): The total number of possible outcomes.
18
- desired_outcomes (int): The number of desired outcomes.
19
-
20
- Returns:
21
- float: The probability of the event.
22
  """
23
  # Kiểm tra xem tổng số kết quả có thể có phải hợp lệ không
24
  if total_outcomes <= 0:
 
14
  """Calculate the probability of an event in the sample space.
15
 
16
  Args:
17
+ total_outcomes: The total number of possible outcomes.
18
+ desired_outcomes: The number of desired outcomes.
 
 
 
19
  """
20
  # Kiểm tra xem tổng số kết quả có thể có phải hợp lệ không
21
  if total_outcomes <= 0: