WILL GIVE BRAINLIEST!! 20 PNTS!!!

What will be the output of these lines of code:

for i in range (1, 5):

print(i)

A. IndentationError

B. PrintError


C. 1 2 3 4


D. 1 2 3 4 5

Respuesta :

jdauld

Answer:

C 1,2,3,4

Explanation:

This means I want to count from 0-4 and set it o the current loop I am currently on.

for i in range(0, 5):

 print("i currently equals: ", i)

The result will be

i currently equals: 0

i currently equals: 1

i currently equals: 2

i currently equals: 3

i currently equals: 4

Answer:

c. 1 2 3 4

Explanation:

i got it right on edge