functions with parameters and parameters

functions with parameters and parameters

Lesson Details:
June 29, 2020

I: Introduction

I want to tell you about the most popular programming languages. This language is used in programming, but not all people can use it. The python programming language was created in 1991 by Guido van Rossum. It is very difficult to learn, but the creator says that this language is very easy to learn. He said that he wanted to make a programming language for everyone in the world.

A: Learn basic python programming for beginners

Python is a high-level programming language for general purpose. It supports many programming styles like object-oriented, imperative and functional programming. It has an easy syntax that can be read by humans. Python is interpreted language, which means that it needs to be converted into machine code before execution.

It has a large standard library and many other third party modules. It is also an open source language. The best feature of this language is that it is automatic garbage collection and dynamic type system. Its design philosophy emphasizes code readability and therefore the code looks more like a natural language than traditional programming languages. It is also very powerful and easy to use.

B: Functions with parameters and parameters

Python programming language supports both procedural and object-oriented styles of programming. It provides all the necessary tools for them. In addition, it includes high-level data structures such as lists, dictionaries, sets and so on. Python supports functions with parameters and parameters. Parameters are used to send information to functions. For example:

def add(x, y): return x + y add(10, 20)

In this case, x and y are parameters defined in add() function. If we defined y = 10 and then run add(20, 20), we get the result 30! We should remember that y should be defined before calling add().

Course content