For example, I have many turtles and I want them all move to forward. Should I repeat my forward command for each turtle or there is a Pythonic way?
import turtle
tx=turtle.Turtle()
ty=turtle.Turtle()
tz=turtle.Turtle()
ti=turtle.Turtle()
tj=turtle.Turtle()
tx.fd()
ty.fd()
tz.fd()
ti.fd()
tj.fd()
Is there any functions like map to use fd() method then write my objects name? I know it's better to use a list and the map function but I want to name my objects.