Examples of Functions

Built-in Function

Length of string: 12

User-defined Function

Hello, Student!

Functions are reusable blocks of code that perform specific tasks. They help organize and modularize code for better readability and maintenance.