@ThomT
Please find the below sample python use case for addition two numbers

Code:
SET number1 TO 10
SET number2 TO 5
SET AdditionResult TO $'''%''%'''
@@copilotGeneratedAction: 'False'
Scripting.RunPythonScript PythonCode: $'''def add(a, b):
return a + b
def subtract(a, b):
return a - b
def multiply(a, b):
return a * b
def divide(a, b):
if b == 0:
return \"Error: Division by zero!\"
return a / b
# Sample usage:
num1 = %number1%
num2 = %number2%
AdditionResult=add(num1, num2)
print(AdditionResult)
''' ScriptOutput=> AdditionResult ScriptError=> ScriptError
How to copy/paste above suggested code into your PAD?

Thanks,
Deenuji Loganathan 👩💻
Automation Evangelist 🤖
Follow me on LinkedIn 👥
-------------------------------------------------------------------------------------------------------------
If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀. If you'd like to appreciate me, please write a LinkedIn recommendation 🙏