0

Am trying to get a function call but i cant get it to print. Please help here. This is the code:

def foo():
    name = input ('>>').lower().split()
    for item in name:
        if name == foo:
            print ('foo here!')
    else:
        bar()
def bar(): 
    name = input ('>>').lower().split()
    for item in name:
        if name == bar:
            print ('bar here!')


def start():
    print('Welcome Home')
    name = input
    foo()


start()
2
Contributors
2
Replies
38
Views
3 Years
Discussion Span
Last Post by crebz
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.