I followed a guide that my instructor gave us to make any type of game. I decided to make Tetris. I decided to use this line of code to return a random shape that I stated at the top of the code.
global shapes, shape_colors
return Piece(5, 0, random.choice(shapes))
For whatever reason it returns with a Takes No Argument error.