133k views
4 votes
When the code tells a program to repeat the same action 10 times, the code is using

a loop
an "if" statement
debugging
logical reasoning

2 Answers

2 votes

Answer:

A) a loop

Step-by-step explanation:

This block tells the program to repeat some action for 10 counts and then stop.

User Chris Herbst
by
5.2k points
5 votes

Answer:

# Assign some Boolean variables

a = True

b = False

print('a =', a, ' b =', b)

# Reassign a

a = False

print('a =', a, ' b =', b)

Step-by-step explanation:

User Wang Tuma
by
5.8k points