Page 100 - Digicode_AI_class_8
P. 100
For example: To call a function.
def my_function( ): Name of a function
print (“Hello”) Body of a function
my_function( ) Function call
Program: To add two numbers using all the three types of built-in functions.
On running the above program, you will get the following output:
Program: To print a string by calling a function.
98 DigiCode AI-VIII

