Posts Tagged ‘How to run the Python Code’
Hello World in Python
Posted August 22, 2019
on:Objectives:
- How to write Hello World in Python?
- How to print Hello World in Python?
- How to print a new line in Python?
- How to print a blank line in Python?
- How to run the Python Code?
- How to execute the Python Code?
Code:
print("Hello, World!") print() # prints a new or blank line, works as "\n" print("Hi")
Please refer above code to print Hello World in Python
Steps to Run the above code:
- Navigate to the folder/directory where you have saved your python code or file.
- Here I have considered that python file is saved on “c:\>” and the File name is “HelloWorld.py
- Just type the following command now to execute the Python program: c:\> python HelloWorld.py
Download code:
- Navigate to GitHub repository and download the code from here: 001_Hello.py
We conduct Python Training and Workshop for Corporates and College Students, if interested, please write to us on kloudsancyber@gmail.com
Aatul Palandurkar
Life Coach, International Trainer, and Author
https://www.facebook.com/aatulpalandurkar
https://www.instagram.com/aatulpalandurkar/
Tags: How to execute the Python Code, How to print a blank line in Python, How to print a new line in Python, How to print Hello World in Python, How to run the Python Code, How to write Hello World in Python, python academy nagpur, Python Code, Python Codes, python institute, python institute nagpur, python institutes, Python internship, Python Internship Nagpur, python nagpur, python programming, python trainer, python training, Python Training India, python training institute, python training nagpur, Python Tutorials, python workshop