Course Content

Writing Our First Python Program

Today we will be writing our first program in Python Language. I know you were waiting to do this for long.

Let's get to business and start writing our first python program. Follow the below steps:

  1. Open Pycharm and create a new file in it.
  2. Keep in mind the file name should not match any module name.
  3. After creating a new file, type print("Hello World")
  4. And then run your program.
  5. You will get the output as "Hello World" in your terminal.

So, this is our first python program, and in this program, we just used a print function. In this function, whatever we pass in parenthesis () in a double quote or single quote gets printed (as it is) in the terminal.

Make sure you have written and executed the below code to get a feel of what it looks like!

print("Hello world! I am learning Python from CodeWithHarry YouTube channel")

So, that's all in this tutorial. See you in the next one, where we will see how to use python as a calculator! 


Vivek-Mishra 10 months, 1 week ago
Full Notes and Source Code:
Vivek-Mishra 10 months, 1 week ago
Remaining Codes will be updated Soon. Thanks, Harry Bhai for Awesome Tutorials
raghu02 7 months ago
I have follow all the steps but at the time of running the program an error like :- C:\Users\raghuvinder.devedi\AppData\Local\Microsoft\WindowsApps\python.exe C:/Users/raghuvinder.devedi/PycharmProjects/FirstProject/
Python was not found but can be installed from the Microsoft Store:
Process finished with exit code 9009

Please help how to resolve
indoroid 5 months, 1 week ago
Sir you have to install python from and please be sure to check mark that python is added to PATH. Otherwise the intrepreter will not work
priyesh26 5 months ago
doing very great work harry sir . i dont know you are earning much money or not .but i pretty sure that bohot logo ne apko blessing de h 
tiwari 1 week, 2 days ago
Thanks Bhai


  1. File - Download here

Course Announcements

Any Course related announcements will be posted here