The Block class inherits from Drawable and it will draw a square with a black outline at its current location. You must implement at the very least the required methods of the base class (draw and get_rect), as well as a constructor. You may need to implement other methods as part of the public interface.
Put all this code in a file name Block.py
This is the Drawable class.
Extracted text:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here