Skip to content

Commit

Permalink
testing mopp extension
Browse files Browse the repository at this point in the history
  • Loading branch information
8cH9azbsFifZ committed Nov 17, 2023
1 parent f885a07 commit 78fd29d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions wip/test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
my_array = [60, -60, 180, -60, 380, -60]


first_two_elements = my_array[:2]
positive_elements = [abs(element) for element in first_two_elements]
smallest_value = min(positive_elements)

print (smallest_value)

0 comments on commit 78fd29d

Please sign in to comment.