Computer Science, asked by Navika2008, 4 days ago

Please answer the above question?? urgently​

Attachments:

Answers

Answered by Equestriadash
2

The answer is the first option, 7, 14, 21, ... 70.

A \tt for loop is an iteration statement used to perform repeated checking/runs over a given range.

A general \tt for loop usually runs over a range, as given here in the question. The syntax for a \tt range() function is as follows:

\tt range(start,\ stop,\ step)

where,

  • start - indicates the starting value
  • stop - indicates the ending value
  • step - indicates the skip value

As per the question, the range given is (7, 71, 7). This means that the loop will run from 7 till 71, skipping 7 values as it traverses.

The traversing variable 'i', will take every 7th value between 7 and 71 and will print it.

Therefore, the output would be:

7

14

21

28

35

42

49

56

63

70

By this, we can conclude that the answer would be the first option.


Equestriadash: Thanks for the Brainliest! ^_^"
Similar questions