if math.sin(x) == 1: print str(i) + " has a sine value of " + str(math.sin(x)) + "." if math.sin(x) == -1: print str(i) + " has a sine value of " + str(math.sin(x ...
7. A for loop repeats commands a specific number of times and a while loop repeats until a condition becomes false.