Get detailed and accurate responses to your questions on IDNLearn.com. Receive prompt and accurate responses to your questions from our community of knowledgeable professionals ready to assist you at any time.

Identify the structure and function of for loops when coding for an algortithm.
What is the result of this code?
for num in range(-1,1):
print("Num is set to: ",num)

a.) Num is set to: -1
Num is set to: 0
b.) An error because num has not been defined.
c.) Num is set to: -1
Num is set to: 0
Num is set to: 1
d.) Num is set to: 0 Num is set to: 1