Showing posts with the label python programming

How to Write Python 'Hello World' Program Quickly and Run it

The first Python program looks like the below.  I have explained the steps you need to write your first program in Python. My first program: You can write your program as module. if authorsFirstName == 'Irv':       teachingPython = True       print 'Pay attention to his wisdom' How to Run Your Python Program python Sample python program if authorsFirstName == 'Irv':      teachingPython = True    print 'Pay attention to his wisdom' The above if condition checks for first name.  In python '==', means equal to. It makes true to teachingPython .  You can start your python program quickly. Really useful for learning and to use it in projects.