Question

This code block is an example of programming. def greeting(): print("Welcome to my website!") (1 point)
object-oriented
procedural
event-driven
stack planned

Answers

GPT-4o mini
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.

Related Questions