I am on day 4 of learning python so I apologize in advance if I am missing something very obvious.
The entire program is posted below. word = input()
no matter what I type into the input prompt my tree function will not be called. However if I change: if word == 'Chris' or 'j':
to if word == 'Chris':
it seems to work.
def tree(pine):
return 'Hello' + pine
def app():
word = input()
if word == 'Chris' or 'j':
print('Welcome ' + word + ' it is nice today! ', end='')
print('It is so sunny')
else:
print(tree('lplp'))
app()