0% found this document useful (0 votes)
4 views1 page

Python_Sem

Uploaded by

kumarmon3152
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Download as txt, pdf, or txt
0% found this document useful (0 votes)
4 views1 page

Python_Sem

Uploaded by

kumarmon3152
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1/ 1

Q.1. What is Python? What are the benefits of using Python?

Ans- It is a programming language developed by Guido van Rossum and released in


1991.
Python is a General Purpose object-oriented programming language,
which means that it can model real-world entities. It is also dynamically
typed
because it carries out type-checking at runtime.

Python is a multi-paradigm programming language. Object-oriented


programming and structured programming are fully supported, and many
of its features support functional programming and aspect-oriented
programming

1. Easy to Use:- Python is comparatively an easier-to-use language as compared to


other programming languages.

2. Expressive Language:- The syntax of Python is closer to how you would write
pseudocode. Which makes it capable of expressing the code’s purpose better than
many other languages.

3. Interpreted Language:- Python is an interpreted language; this means that the


Python installation interprets and executes the code a line-at-a-time.

4. Python is one of the most popular programming languages to be used in Web


Development owing to the variety of Web Development platforms built over it like
Django, Flask, etc.

5. Portable and Extensible:- Since python is portable, it is supported by all the


platforms of the industries like Windows, Linux, Macintosh, and play stations
support
python. And with the extensibility of python, we can completely integrate java
as well
as dot net components even we can invoke C and C++ libraries as well

Q.2. What are lists and tuples? Write the key differences between the two?
Ans-

You might also like