Relation

Examples of Python Arithmetic Functions

Example of the square function:

  • square(4) --> 16

Example of the subtraction function:

  • sub(6, 4) --> 2

Example of the square function in a multidimensional problem:

  • sub(square(3), square(4)) --> -7

Example of the print function:

  • print(3) --> *Integer 3 will actually display on output screen.

0

2

Updated 2021-05-22

Tags

Data Science