Search
Ask a question
0

What would i use in python to get it to run or print values between a certain range like all the numbers between 12 and -12?

What would i use to get my code to run or print values from a certain range like all the values between 12 and -12 ..I am using python and i need to use these values throughout my code .

1 Answer by Expert Tutors

Tutors, sign in to answer this question.
Dogukan D. | Only Physics TutoringOnly Physics Tutoring
1
for x in range(-12, 12):
  print repr(x)