asked 234k views
0 votes
Reducing duplication of code is one of the advantages of using a loop structure. True/False?

1 Answer

1 vote

Answer:

True

Step-by-step explanation:

let's say we want to print "hello" 10 times.

instead of calling a function like print("hello"); in multiple lines we can use a loop to reduce the amount of times we repeat code

answered
User Gjgjgj
by
8.5k points

No related questions found