<reponame>Drv4MC/ICS3-Python-Notes
#-----------------------------------------------------------------------------
# Name:        Functions (functions_ex1.py)
# Purpose:     To provide examples of how for functions work in Python
#              This example uses no parameters
#
# Author:      <NAME>
# Created:     22-Aug-2018
# Updated:     11-Nov-2018
#-----------------------------------------------------------------------------

# A function without any parameters
def menu():
	'''
	Displays a basic menu of options
	'''

	print('Menu')
	print('Vegetables')
	print('Fruit')
	return

# Program runs starting here.  Above this line, the functions are just defined.
menu()	# Calls the function to run

#-----------------------------------------------------------------------------
# Name:        Functions (functions_ex1.py)
# Purpose:     To provide examples of how for functions work in Python
#              This example uses no parameters
#
# Author:      <NAME>
# Created:     22-Aug-2018
# Updated:     11-Nov-2018
#-----------------------------------------------------------------------------

# A function without any parameters
def menu():
	'''
	Displays a basic menu of options
	'''

	print('Menu')
	print('Vegetables')
	print('Fruit')
	return

# Program runs starting here.  Above this line, the functions are just defined.
menu()	# Calls the function to run
#----------------------------------------------------------------------------- # Name:        Functions (functions_ex1.py) # Purpose:     To provide examples of how for functions work in Python #              This example uses no parameters # # Author:      <NAME> # Created:     22-Aug-2018 # Updated:     11-Nov-2018 #----------------------------------------------------------------------------- # A function without any parameters Displays a basic menu of options # Program runs starting here.  Above this line, the functions are just defined. # Calls the function to run