This code block is an example of programming. def greeting(): print("Welcome to my website!") (1 point)

object-oriented
procedural
event-driven
stack planned

1 answer

The code block you've provided is an example of procedural programming. In procedural programming, functions are defined to carry out tasks, such as the greeting function in your example, which simply prints a message.