Overloading - (minus) operator

Lesson Details:
June 29, 2020

I: Introduction

II: Body

A: Basic Data Types and Operators

1. Numbers - Integers and Floating point

2. Strings and Characters

3. List and Tuples

4. Boolean and Numeric Operations

5. Control Flow and Loops

A: Overloading - (minus) operator

III: Conclusion

III: Conclusion

I: IntroductionThis is a simple introduction to Python programming.II: BodyA: Overloading - (minus) operator (methods and functions)III: ConclusionI: IntroductionPython is a high level, general purpose, interpreted, dynamic programming language used by many professionals and students for their projects. It is an open source language and free to use. It is very easy to learn and it has only one implementation. Its syntax is easy to read and understand. It provides an object-oriented and procedural programming approach and is very suitable for beginners. It also helps manage projects effectively and easily. It can be easily integrated with other languages such as C/C++, Java, Perl, Tcl, Scheme, etc. Python is often embedded in applications with these languages. This article will help you learn basics of python programming for beginners with examples on some commonly used basic programming concepts.II: BodyA: Basic Data Types and OperatorsThe basic data types are numeric variables, strings, lists, tuples, dictionaries, sets, booleans and null values or None. There are a total of 8 data types in Python.Python has a set of operators that can be used to perform arithmetic operations. These operators can also be used on different data types as shown below :In the above example, the plus (+) operator works on integers as well as floats. The minus (-) operator works on integers as well as floats as it is overloaded.III: ConclusionThis is the end of the article "Python Programming for Beginners". I hope it was informative and useful for you!

Course content