What is the correct syntax to output Hello World in python ?
Python is a High level language and object oriented language. Python's beauty is its a very easy language and syntax can also very easily learned by the programmer.
Python program must be written in a particular format. and its an interpreter language that can be run step by step.
So, the our first python program is given below:
print("Hello World")
And you surprised it's a 1 line program in python, that same program in java or C++ written in around 4-5 lines.
So that's the beauty of python
Thanks.
0 Comments