You're going to need to do something like this:
for i in range(6):
screen.blit(platformimg, (i*50+x, y))
See the section titled Going From The List To The Screen in this pygame tutorial.
The reason being because screen.blit()
does not accept a list argument for the position.
If you have an arbitrary list of x,y positions, then it would be something like:
positions = [(100, 30), (250, 90), (42, 623)]
for position in positions:
screen.blit(platformimg, position)