In this Python for beginners tutorial we are going to learn the following:
How to create a Function with one Parameter
How to create a Function with two Parameters
In this video, we are going to learn how to pass information to functions, a very important and very useful tool.
As we said in the previous video, a function is a just a block of code with a name given by us. If that block of code does not require any information to execute, we can simply call the function by its name like this. But if the function requires some information to run correctly, it can take information as parameters.
Parameters are enclosed in parentheses after the function name. You can enter as many arguments as you wish, separated by a comma. Let’s see how this works with an example.
#pythoncourse #pythontutorial #programmingwithnick
Смотрите видео Function Parameters Python for Absolute Beginners Course онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Programming With Nick 13 Июнь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 313 раз и оно понравилось 16 людям.