Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
HikaGenji authored May 29, 2024
1 parent 60f7781 commit 2935f6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ <h1>Loading...</h1>

<section class="pyscript">
we define a function f as <br />
def f(l):
return {'median': statistics.median(l), 'range': l.max()-l.min()}
f = lambda l: {'median': statistics.median(l), 'range': l.max()-l.min()}
<script type="py">
from pyscript import display
import statistics
Expand Down

0 comments on commit 2935f6b

Please sign in to comment.