How to pass parameter to my pyton script?

Hi community!
My script is not recognizing my argument. Attached is my workflow and my script in txt. can you help me?

`
scriptPytonUi.txt (3.9 KB)

scriptPytonUi.txt (3.9 KB)
`

@amanda.gondim

The way you passed is correct…

Can you elaborate your issue

Cheers

Can you take a look at my script? I know it’s long, but I’m defining the function and passing a parameter and transforming this parameter into a float. however in my script the value is set to “0”.

and even so it is not accepting the value 3000.0. I know this because my script’s return would have to be different from what it is, based on the value I’m passing

@amanda.gondim

just to check can you just create a simple function pass a value and return the same value and check if it is getting passed…as I see nothing wrong with it

cheers

@amanda.gondim you can refer below link also