I'm really stuck with a question asking me to enter a positive integer value and then return that positive integer value:

[![enter image description here](https://i.stack.imgur.com/QI9PE.png)](https://i.stack.imgur.com/QI9PE.png)

I've tried entering this code:

```
def get_positive_integer(integer):
    get_positive_integer = int(integer)
    return get_positive_integer

integer = input("Please enter a positive integer value: ")
the_integer = get_positive_integer(integer)
print(the_integer)

```

But I have no idea how to get the answer which is required of me.

How do I go about solving this? I'm confused as the function `get_positive_integer` does not take any parameters. How am I meant to return the number the user inputs if it does not take any parameters?