Add code
This commit is contained in:
parent
9d2e745be6
commit
3ecd76609c
7 changed files with 574 additions and 0 deletions
7
Durchschnitt.rkt
Executable file
7
Durchschnitt.rkt
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#lang racket
|
||||
|
||||
(define (durchschnitt lst) (
|
||||
/ (apply + lst) (length lst)
|
||||
))
|
||||
|
||||
(durchschnitt (list 1 1 1 3 3 3))
|
||||
Loading…
Add table
Add a link
Reference in a new issue