This code block is an example of _____ programming.

def greeting():

print("Welcome to my website!")

(1 point)
Responses

object-oriented

object-oriented

procedural

procedural

event-driven

event-driven

stack planned

1 answer

This code block is an example of procedural programming.

Procedural programming involves writing procedures or functions that operate on data, and the given code defines a function greeting() that prints a message.