Hello World Program

Windows 

To create a first program to Pycharm follows the following step.

Step - 1. Open Pycharm editor. Click on "Create New Project" option to create new project.

Step - 2. Select a location to save the project.

  1. We can save the newly created project at desired memory location or can keep file location as it is but atleast change the project default name untitled to "helloword" or something meaningful.
  2. Pycharm automatically found the installed Python interpreter.
  3. After change the name click on the "Create" Button.

 Step - 3. Click on "File" menu and select "New". By clicking "New" option it will show various file formats. Select the "Python File".

Step - 4. Now type the name of the Python file and click on "OK". We have written the "helloworld".

Step - 5. Now type the first program - print("Hello World") then click on the "Run" menu to run program.

 


Step - 6. The output will appear at the bottom of the screen.

 

No comments:

Post a Comment