oh! What I meant was that I already had the Python code and then I just wrote that same code in here SmileBASIC keeping the things that worked (operations, mostly) and changing to an appropiate SmileBASIC syntax.
One of the main differences was that SmileBASIC already has a plotting command. In python we wrote a data list in a .DAT file and then we used GNUPlot to plot the points.