Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
11
Task/Statistics-Basic/Hy/statistics-basic.hy
Normal file
11
Task/Statistics-Basic/Hy/statistics-basic.hy
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
(import
|
||||
[numpy.random [random]]
|
||||
[numpy [mean std]]
|
||||
[matplotlib.pyplot :as plt])
|
||||
|
||||
(for [n [100 1000 10000]]
|
||||
(setv v (random n))
|
||||
(print "Mean:" (mean v) "SD:" (std v)))
|
||||
|
||||
(plt.hist (random 1000))
|
||||
(plt.show)
|
||||
Loading…
Add table
Add a link
Reference in a new issue