Actually this is better
!pip install ColabTurtle
from ColabTurtle.Turtle import *
initializeTurtle()
def repeat(n, *commands):
for _ in range(n):
for command in commands:
fn, *args = command
fn(*args)
repeat(5, (fd, 80), (rt, 144))