def name_function():
    firstName = input("Enter your first name: ")
name_function()
print("My name is " + firstName)
the expected output is the name
def name_function():
    firstName = input("Enter your first name: ")
name_function()
print("My name is " + firstName)
the expected output is the name
 
    
     
    
    def name_function():
    firstName = input("Enter your first name: ")
    return firstName # forgot to add this
firstName = name_function() #forgot to assign value to firstName
print(firstName)
