Answers for "a function"

5

functions

A function is a reusable set of statements to perform a task or calculate a value.
Functions can be passed one or more values and can return a value at the end of their execution. 
In order to use a function, you must define it somewhere in the scope where you wish to call it.
Posted by: Guest on June-23-2020
0

what is a function

def the_name(attributes):
	#a tab
    print("Hi")
    #take the attributes
    print(attributes)
#call the function
the_name("Hello")
#right the name and an attribute for attributes so it can print something
Posted by: Guest on August-12-2021

Code answers related to "a function"

Browse Popular Code Answers by Language