Skip to content
Menu
Code for Java c
  • Home
  • Java
    • Java Examples
    • Java tutorials
  • C
    • C tutorials
    • C Examples
  • C++
    • C++ Tutorials
    • C++ Examples
  • Python
    • Python Tutorials
    • Python Examples
  • About
    • About me
    • contact us
    • disclaimer
    • Privacy Policy
Code for Java c

python language hello world program

Posted on November 17, 2017September 18, 2019

Table of Contents

  • Python language hello world program
    • Related

Python language hello world program

In this tutorial, we will discuss the concept of python language hello world program.

 

Python is a widely used high-level programming language. It is a very simple and easily understandable programming language. It has very simple syntax and easy to declare data.(No need for external data declaration.);

We have to use the built-in or predefined print() function to display the line(String) ‘Hello world ‘.
Strings are enclosed inside single quotes, double quotes or triple quotes

This is the first program displayed on your screen “hello world”

First, make sure, you have installed python in your computer.

Then, open python IDLE(Python GUI)

To run directly on python shell

Type the code given below

Write the program given below and press enter.

Output

python hello world program language
Example

 

To run from the file
Go to File and click on the new file.
Write the program given below

"<yoastmark

Then click on save the file .py extension

python hello world program language
Example

Then, run the program

Output here

Explanation of the program
python hello world program language
Example

 

Related Post

Python String

Hello world in Java

Hello world in C

Hello world in C++

 

Related

Recent Posts

  • Multiply two numbers in Java using scanner| 5 different ways
  • 5 different ways to Divide two numbers in Java using scanner
  • Learn 8 Ways to Subtract Two Numbers Using Methods in Java
  • 10 ways to subtract two numbers in Java
  • Java Code Examples – Multiply Two Numbers in 5 Easy Ways
  • How to Divide two numbers in Java| 5 different ways

tag

Addition (8) Array (38) C++ language (91) C language (98) c sharp (23) Division (8) Function (29) if else (32) Java language (108) JavaScript (5) loops (138) Multiply (8) Oop (2) patterns (66) PHP (13) Python Language (38) Subtraction (9) temperature (20)

Archives

Categories

Address

Global information technology

Puloly south, PointPedro

Jaffna

Srilanka

©2026 Code for Java c | Powered by SuperbThemes