def test_function(argument1,argument2,argument3) :
# Do something with the code, and the arguments.
print(argument1)
print(argument2)
print(argument3)
# Calling the function.
test_function('Hello','World','!')
# Output
'''
Hello
World
!
'''
#to create a function in python, do the following
#create func
def func(): #can add variables inside the brackets
print("This is the function of the func")
# to call a function, do the following
func()
#you would get a line of code saying "This is the function of the func"
# By Codexel
#Statements with pound sign are comments, just to guide. They wont be executed.
#Funtion Definition- Must include def
def my_Function():
#statements within a function, will be executed when the function is called
print("Hello World!")
#Function Calling
my_Function()
print("
") #This adds a new line below
print(phrase.lower()) #Turns all alphabets to lowercase
print(phrase.upper()) #Turns all alphabets to uppercase
print(phrase.isupper())
#Checks if all alphabets are uppercase, same for lowercase
print(phrase.upper().isupper())
#We can use these functiones one after another too!
#This comes in handy a lot