Source Code:
(back to article)
def greet(name, greeting='Hello'): print(f'{greeting}, {name}!') greet('John') greet('Jack', 'Hi')
Result:
Report an issue