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
object-oriented
procedural
event-driven
stack planned
Answers
There are no human answers yet.
Answered by
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.
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.