For unlimited access to Homework Help, a Homework+ subscription is required.
write a for loop that prints the integers 0 through 39, separated by spaces.
Mention a loop structure in Python that gets executed when a given condition is true. Also, print the series 1, 4, 9, 16, ..., N using that loop.
18. (2 points) Assume that there is a global array of integers named data, write a code fragment that will count the number of zeros stored in the array and print out the count.