What is Python
Python is a general purpose, dynamic, high-level, and interpreted programming language. It supports Object Oriented programming approach to develop applications.Python's syntax and dynamic typing with its interpreted nature make it an ideal language for scripting and rapid application development.
Python supports multiple programming pattern, including object-oriented, functional and procedural programming styles. That is why it is known as multipurpose programming language because it can be used with web, enterprise, 3D CAD, etc.
Python makes the development and debugging fast because there is no compilation step included in Python development.
Python Features :
# This program prints Hello, world!
print('Hello, world!')
Output
Hello, world!
In this program we have used build in print() function to print the string Hello, world!
Add two Numbers :
# This program adds two numbers
num1 = 1.5
num2 = 6.3
# Add two numbers
sum = num1 + num2
# Display the sum
print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
Output
The sum of 1.5 and 6.3 is 7.8
hello guys
ReplyDeleteAwesome explanation👌
ReplyDeleteThanks 😊
DeleteNice content
ReplyDeleteOp! Content and Op! Expand
ReplyDeleteHello sir myself Nikhil
ReplyDeleteokay.. how's my blog content
Delete