Welcome to Westonci.ca, where curiosity meets expertise. Ask any question and receive fast, accurate answers from our knowledgeable community. Our Q&A platform provides quick and trustworthy answers to your questions from experienced professionals in different areas of expertise. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform.

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