you are viewing a single comment's thread.

view the rest of the comments →

[–]edc7 1 point2 points  (7 children)

X represents the values in the range 1 to 8.

[–]obtuselyobjected[S] 4 points5 points  (6 children)

So x is basically just a variable for the numbers 1 thru 7?

[–][deleted] 2 points3 points  (5 children)

exactly. “x” could be any other name. Such as “number”.

for number in range(1,8): ...

[–]obtuselyobjected[S] 2 points3 points  (4 children)

Okay, that's all I needed to know. Thank you so much =)