the first few steps more basic concepts so far we have seen few basic examples on how to apply python programming to solve mathematical problems before we can go on with other and more realistic exampleswe need to briefly treat some topics that will be frequently required in later these topics include computer science concepts like variablesobjectserror messagesand warningsmore numerical concepts like rounding errorsarithmetic operator precedenceand integer divisionin addition to more python functionality when working with arraysplottingand printing using python interactively python can also be used interactively that iswe do not first write program in file and execute itbut we give statements and expressions to what is known as python shell we recommend to use ipython as shell (because it is superior to alternative python shellswith spyderipython is available at startupappearing as the lower right window following the ipython prompt in [ ] prompt means "ready sign" the program allows you to enter commandand different programs often have different looking prompts)you may do calculationsin [ ] + out [ ] in [ ] * out [ ] in [ ] / out [ ] in [ ] ** out [ ] the response from ipython is preceded by out [ ]:where equals when the response is to input "numberp note thatas in programyou may have to use import before using pi or functions like sincosetc that isat the promptdo the command from math import before you use pi or sinetc importing other modules than math may be relevantdepending on what your aim is with the computations you may also define variables and use formulas interactively as in [ ] in [ ] in [ ] in [ ] * * * ** in [ ]print print(