First Python Program

basic of python,

Sourabh Somani Sourabh Somani Follow Apr 06, 2018 · 1 min read
Share this

Introduction

In this tutorial, we will learn, how can we create simple python program in python.

Let’s start with a classic and tradition program in computer programming, a simple program that displays “Hello, World!”.

This tutorial will walk you through writing a “Hello, World” program in Python 3.

print() is a built-in function that tells the computer to perform an action. We know it is a function because it uses parentheses. print() tells Python to display whatever we put in the parentheses.

These built-in functions are always available for us to use in programs that we create.

Basic Syntax in Python3

print(‘Hello, World!’)

This produces the result like this First Python Program Output

Join Newsletter
Get the latest news right in your inbox. We never spam!
Sourabh Somani
Written by Sourabh Somani Follow
Sourabh Somani is a Full-Stack Engineer with several years of hands-on experience. He has been awarded 4-times Microsoft MVP award consecutively and C# Corner MVP Award 6-times. Most of the time you will find him helping people on C# Corner and StackOverflow on JavaScript, .NET and Python. He is a frequent contributor to open source software development via forums, articles, and blogs. He regularly speaks at user groups and developer conferences. His core technology interests are JavaScript, Python and .NET.