#!/usr/bin/python # Print the required header that tells the browser how to render the text. print "Content-Type: text/plain\n\n" # Define a global variable gender = "female". gender = "female" # Define a function. def display_vars (first_name, last_name, age): print (first_name, last_name, age, gender) # Define a function that calls 'display_vars' with intended local 'gender'. def go_display(): gender = "male" display_vars("John", "Smith", 22) # Call the function 'go_display'. go_display()