# Is there a way to repeatedly call a function

**URL:** <https://discourse.julialang.org/t/is-there-a-way-to-repeatedly-call-a-function/107762>\
**Category:** General Usage\
**Created:** [December 18, 2023, 10:03am UTC](https://discourse.julialang.org/t/is-there-a-way-to-repeatedly-call-a-function/107762 "2023-12-18T10:03:54Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![JM\_Beckers](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jm_beckers/32/22482_2.png) [@JM\_Beckers](https://discourse.julialang.org/u/JM_Beckers)\
**Post date:** [December 18, 2023, 10:44am UTC](https://discourse.julialang.org/t/is-there-a-way-to-repeatedly-call-a-function/107762/7 "2023-12-18T10:44:53Z")

</div>

Maybe this: ?

> [@Seven Lines of Julia (examples sought)](https://discourse.julialang.org/t/seven-lines-of-julia-examples-sought/50416/160):
>
> using IterTools using Statistics F(x)=[mean(x),prod(x)^(1/length(x)), median(x)] Fnx(x,n)=nth(iterated(F,x),n)

---

_[View the full topic](https://discourse.julialang.org/t/is-there-a-way-to-repeatedly-call-a-function/107762)._
