Followers

Tuesday, November 12, 2019

WORKING IN PYTHON

WORKING IN INTERACTIVE MODE (PYTHON IDLE):-


An interactive mode of working means you type the command - one command at a time ad then it will show you the result of that single code that you typed. If you are working in PYTHON IDLE then you have to type the code in front of this prompt >>>, otherwise, if you are working in a different PYTHON program then you have to type your code in front of this prompt [ID]. for example:-
                 >>>2+5
                   7
To work in interactive mode, follow the process shown below:-
  (i)Open Python[IDLE] 
  (ii)It will open python shell where you will see the python prompt
 (iii) Type commands in front of this Python prompt and Python will immediately give you the result.
For Example
                  >>>Print('HELLO WORLD')
                    HELLO WORLD



So with this, we end with this Post.
JAI HIND!!! 
VANDE MATARAM!!!!!      
  

No comments:

Post a Comment

If you have any doubts, please do let me Know.