<< pyDiv Scithon pyExec >>

Scithon >> Scithon > pyEquals

pyEquals

Checks if two values are equal or not.

Syntax

pyEquals(arg1, arg2)

Arguments

arg1

Value to compared.

arg2

Value to be compared with.

Description

Compares the two arguments and returns the result; equivalent to arg1 == arg2. Arguments can be of type int, double, string, bool or python variable.

Example

startPy
py("a=5")
pyEquals(5,pyGet("a"))
quitPy

Report an issue
<< pyDiv Scithon pyExec >>