The exercise

Create a function 'greet' that takes a name and prints:
"Hello, [name]!"

Then call: greet("World")
Expected output: Hello, World!

Starter code

# Define greet function / Определите функцию greet


# Call greet("World") / Вызовите greet("World")
Solve in the playground

Write the code in the browser and run it — no installation needed.