Updated banners.py
Removed unnecessary import.
Added a function to avoid duplicating code.