DOMMETI commited on
Commit
5e982d2
·
verified ·
1 Parent(s): d20bcc3

Update pages/Measurement_of_disperssion.py

Browse files
pages/Measurement_of_disperssion.py CHANGED
@@ -44,12 +44,10 @@ num_input = st.text_input("Enter the values separated by commas (e.g., 1,2,3,4)"
44
  list1 = []
45
 
46
  # Process the input only if it's not empty
47
- if num_input:
48
- value = num_input.split(",")
49
- for i in value:
50
- if i.isdigit():
51
- list1.append(int(i))
52
-
53
  # Check if list1 is not empty and calculate the range
54
  if list1:
55
  result = absolute_range(list1)
 
44
  list1 = []
45
 
46
  # Process the input only if it's not empty
47
+ value = num_input.split(",")
48
+ for i in value:
49
+ if i.isdigit():
50
+ list1.append(int(i))
 
 
51
  # Check if list1 is not empty and calculate the range
52
  if list1:
53
  result = absolute_range(list1)