How To Make Pattern Design In Python