#24 Exercise - Create a Function that Counts Vowels in a String.

Опубликовано: 24 Январь 2023
на канале: Afshan - AFS Hackers Academy
161
6

In Python, a function is a block of code that can be reused multiple times in a program.
We have two types of functions:
1. Built-in Function
2. Custom Function

A built-in function is a function that is pre-defined in the Python language and is available for use in your code without the need to import any additional modules.
Examples of built-in functions include print(), len(), and range().

A custom function, on the other hand, is a function that you create yourself to perform a specific task in your code. These functions are defined using the “def” keyword and can take input parameters and return output.

In this tutorial, we'll be creating a function that takes a string as an input and returns the number of vowels in the string.

Python Playlist:    • #1 Exercise - Create a Python Script ...  

Whether you're a beginner or just looking to brush up on your programming skills, this playlist will be a great resource. Don't miss out, watch now!

Happy coding!


На этой странице сайта вы можете посмотреть видео онлайн #24 Exercise - Create a Function that Counts Vowels in a String. длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Afshan - AFS Hackers Academy 24 Январь 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 161 раз и оно понравилось 6 зрителям. Приятного просмотра!