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