Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 618 Bytes

README.md

File metadata and controls

29 lines (16 loc) · 618 Bytes

PROFETA - Python RObotic FramEwork for wriTing strAtegies

  1. INSTALLATION

Install the tool by typing (in the main dir):

$ sudo python setup.py install

  1. TESTING

You can enter the "sample" directory and run some tests.

"factorial.py" is a program which computes the factorial of a number using PROFETA plans. Run it using:

$ python factorial.py

The PROFETA shell will be displayed. Now enter e.g.

PROFETA>+fact(10)

The program will compute the factorial of 10 and will show:

the resuilting factorial is 3628800