How to Write Hello World Program in Python

Hi Guy's , In this article i 'm going to write first python program in any editor such pycharn, visual studio code, atom editor , etc..


  1. We must write print method to display any text or string values into output screen. Write print method and use open and close braces after writing "Hello World".


2. You can single quote to  print 'Hello World' in output screen.                                       

Important Point  : in c language we are using printf function, in java language we are using System.out.print method to display something in output sceen . same as in python we must write print function. single quote and double quotes are optional. you can use anyone from two. semicolon after print function. its not mandatory.

Happy Coding Days... Thanks.
                                   
Oldest