def render():
...
# bats - we will create list of bats coordinates and for each pair of coordinates
# in this list we will draw the bat
for x, y in [(0, bat_coordinates[0]), (WIDTH, bat_coordinates[1])] :
draw_rectangle(
x - BAT_THICKNESS,
y - BAT_LENGTH // 2,
x + BAT_THICKNESS,
y + BAT_LENGTH // 2)
)