Lecture # 3 - First Python Program
Abdullah Bin Altaf
1 min read
Table of contents
Create Project:
Follow these steps to create a new project in Pycharm.
Open Pycharm.
Click on 'New Project'.
-
Choose the name and location for the project. Also select 'create a main.py welcome script'. After that click on 'Create' button.
-
Our project is created successfully.
-
Remove all the contents from
main.py
file.
First Program:
In Python, the print
function is used for displaying output to the console or standard output stream. It allows you to output text, variables, expressions, or any other information you want to show during the execution of a Python program.
print("I'm learning Python for DevOps.")
Output:
0
Subscribe to my newsletter
Read articles from Abdullah Bin Altaf directly inside your inbox. Subscribe to the newsletter, and don't miss out.
DevopsDevops articlesDevOps Journey#DevopscommunityDevOps trendsPythonPython 3python beginnerpython projectspython librariespycharmprojectProgramming Blogs
Written by