Move the import in front of the loop
Didnt run your code but from what im seeing every single iteration is calling value_posit_y and then adding 60 which means if you run it 100 times itll always be the same. What you can do is assign it to a local variable and increment that
newVariable = value_posit_y
for _ in range(9):
new_turt = RandomTurtle()
newVariable += 60
and then of course at the end you assign newVariable back to RandomTurtle.self.position_y
If I remember correctly, cause i haven't been programming in python for a while, you're trying to refer and move a turtle, that now is an object taken from different file. You have to import the class to main and refer to object, so for example new_turt.value_posit_y += 60. Cause now you're trying to call into global value you got from randomturtles file. Also, you're updating value_posit_y to the old one every loop. Set a local variable as value_posit_y and modify it. So for example:
y = value_posit_y (keep this out of your loop)
y += 60
As I said, I might be wrong, cause i had some break in programming, but it least it maybe will help.
First off, I'm not even going to try to debug your code when it is formatted like that. If your error has something to do with a tab, then I will never know.
edit: have a link to something that can have the right formatting and I will look at it for you.
are you going to trust hltv programmers to solve your problem?
I don’t think changing value_posit_y += 60 after creating new_turt will work. Maybe try new_turt.setposition(y+=60).