Return
Styles:
Pseud0ch
,
Terminal
,
Valhalla
,
NES
,
Geocities
,
Blue Moon
.
Entire thread
Bootleg /prog/ challenge: NestList Function
1
Name:
Anonymous
2018-01-09 8:59
Quiz. write a function
\(r(f,x,n)\)
that returns a list
\([f(x), f(f(x)), f(f(f(x))), ...]\)
, length
\(n\)
.
12
Name:
Anonymous
2018-01-10 17:12
r(f,x,n+1) = x' : r(f,x',n) where x' = f x
r _ = []
Newer Posts
Don't change these.
Name:
Email:
Entire Thread
Thread List