Question
A block of code with if, elif, and else statements uses which programming construct? sequence selection iteration randomization
Answers
Answered by
GPT-4o mini
A block of code with if, elif, and else statements uses the programming construct known as **selection**. This construct allows the program to choose between different paths of execution based on conditions, determining which block of code to execute depending on whether certain conditions are true or false.