Python programming language


Python
High-level programming language
Python is an interpreted, high-level and general-purpose programming language. Python's design philosophy emphasizes code readability with its notable use of significant whitespace.

Description of python :-

 logo


* Typing discipline: Duck, dynamic, gradual 
* Stable release: 3.9.0 / 5 October 2020;  
* Preview release: 3.10.0a2 / 3 November  *Paradigm: Multi-paradigm: functional,  imperative, object-oriented, structured, * Designed by: Guido van Rossum
* Parent company: Python Software Foundation
* Python range() Function

*The range() function returns a sequence of numbers, starting from 0 by default, and increments by 1 (by default), and stops before a specified number.

* Function
A function is a block of code which only runs when it is called. You can pass data, known as parameters, into a function. A function can return data as a result.

* Absolute value
The abs() function of Python's standard library returns the absolute value of the given number.

*Absolute value of a number is the value without considering its sign. Hence absolute of 10 is 10, -10 is also 10. If the number is a complex number, abs() returns its magnitude.

*Basic Data Types in Python
Integers.
Floating-Point Numbers.
Complex Numbers.
Strings. Escape Sequences in Strings. Raw Strings. Triple-Quoted Strings.
Boolean Type, Boolean Context, and “Truthiness”
Built-In Functions. Math. Type Conversion. Iterables and Iterators. Composite Data Type. Classes, Attributes, and Inheritance. 


                                 Thanks for reading 



 

Comments

Post a Comment

Popular posts from this blog

About AI and ML

About coding and programming.