What am I doing Wrong

So I really thought that I had everything under control and actually knew what I was doing. However, today when I went to create a very simple program, it did not work. Here is my code, and link to my program, can anyone tell me what I am doing wrong?

https://www.robotmesh.com/studio/6040e11640fabb29702b03c5

VEX EDR Python-Project

import sys
import vex
import timer

#region config
right_motor = vex.Motor(1)
left_motor = vex.Motor(10)
#endregion config

timer1 = timer.Timer()

while true:
while timer1.total_time() < 5:
right_motor.run(100)
right_motor.off()
#stop the timer, reset it to 0, start timer again
timer1.stop()
timer1.reset()
timer1.start()
while timer1.total_time() < 5:
left_motor.run(50)
left_motor.off()
#stop the timer, reset it to 0, start timer again
timer1.stop()
timer1.reset()
timer1.start()

Probably need to call timer1.start() first to start the timer. I don’t know if it starts running as soon as you create it.