example

example

Functions

Name Description
add Add an integer and a float

add

example.add(a: int, b: float)

Add an integer and a float

Parameters

a : int

first number to add

b : float

the second number to add

Returns

: float

Sum of both parameters

Examples

print(add(3, 0.14))
3.14