Python wenn Boolesche Logik
def if_demo(s):
if s == 'Hello' or s == 'Hi':
s = s + ' nice to meet you'
else:
s = s + ' woo hoo!'
return s
Pogi
def if_demo(s):
if s == 'Hello' or s == 'Hi':
s = s + ' nice to meet you'
else:
s = s + ' woo hoo!'
return s