import myModule as mm # main program function def main(): # Your main program logic goes here header() my_cost = myCalc(5,3) # return 8 print(my_cost) # User Inputs ## Create a function in your modules library and call that function ### firstName = input("Enter first name: ") ### lastName = input("Enter last name:") varFullName = mm.fullName() # return print(varFullName) print( mm.fullName() ) # call our lambda function INSIDE of our program #result = fullname(firstName, lastName) # same as 2 line example #print(result) mm.footer() ### Header of my application def header(): print("Welcome to my Python Program") print("============================") print() def myCalc(x,y): z = x + y return z # Lambda Functions ## define ### lambda ex 1: create a fullname from fname and lname ### #fullname = lambda fname, lname: fname + " " + lname ###result = fullname("Bob", "Smith") # var = return lambda ### EO lambda ex 1 ### if __name__ == "__main__": # what function do you want to use to start the program main()