Write a function called say_hello that prints "Hello, World!" when called.
Define a function print_triangle that prints the following pattern:
*
* *
* * *
* * * *
* * * * *
Write a function even_or_odd that takes no parameters, prompts the user to enter a number, and then prints whether the entered number is even or odd.
Create a function is_leap_year that takes no parameters and asks the user to enter a year. The function should then determine whether the entered year is a leap year and print the result.
greet_user that asks the user for their name and then prints a personalized greeting using that name.calculate_rectangle_area that takes two arguments: length and width, and returns the area of a rectangle. Test the function with different values.calculate_factorial that takes a non-negative integer n as an argument and returns the factorial of n.filter_even_numbers that takes a list of integers as an argument and returns a new list containing only the even numbers.reverse_string that takes a string as an argument and returns the reverse of that string.count_occurrences that takes a list and an element as arguments and returns the number of times the element appears in the list.is_vowel that takes a character (a single letter) as an argument and returns True if it's a vowel (either uppercase or lowercase), and False otherwise.True if it's even and False if it's odd.map to square each element in the list and return the result as a new list.filter to select only the strings that contain the letter 'a'