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

Python Overview Reformatted

Python is a high-level programming language with interactive and script modes. It supports data structures like lists and dictionaries, and follows object-oriented programming principles with concepts such as classes, attributes, and inheritance. Functions in Python can be built-in or user-defined, and modules help organize code logically.

Uploaded by

Øsama .K .K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Python Overview Reformatted

Python is a high-level programming language with interactive and script modes. It supports data structures like lists and dictionaries, and follows object-oriented programming principles with concepts such as classes, attributes, and inheritance. Functions in Python can be built-in or user-defined, and modules help organize code logically.

Uploaded by

Øsama .K .K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Python : is a widely used general-purpose, high-level programming language.

Modes of Python : Interactive mode, Script mode

Lists : Group multiple variables together that is Mutable, Ordered, Heterogeneous, can
contain duplicates

Dictionary : A collection of a set of key:value pairs, with the requirement that the keys are
unique within a dictionary.

Function : A block of code which only runs when it is called. Some reusable code that takes
arguments as input, does some computation, and then returns a result or results.

Types of Functions : Built-in functions, User-Defined Functions

Object-Oriented Programming (OOP) : A programming methodology that revolves


around the concept of objects, which are instances of classes.

Class : A blueprint with which to make real objects (instances)

Attribute: A variable within a class

Method - A function within a class

Object : A bit of self-contained Code and Data /A particular instance of a class

Inheritance : The ability to extend a class to make a new class

Constructor : Code that runs when an object is created

Parent Class : The class being inherited from, also called base class

Child Class : The class that inherits from another class, also called derived class

Module : Allows to logically organize the Python code.

You might also like