Write a function ***forward\_difference*** which takes a function f:R→R and returns another real-valued function defined by ***forward\_difference(f)(x)=f(x+1)−f(x)***.

I want to write some codes by Python. How can I do it? Perhaps the first line is 

```
def forward_difference(f):

```

Thank you!