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.")