''' Ruler 1         2         3         4         5         6         7        '
/*******************************************************************************
*                                                                              *
*                  /$$      /$$   /$$$$$$   /$$$$$$  /$$   /$$                 *
*                 | $$$    /$$$  /$$__  $$ |_  $$_/ | $$$ | $$                 *
*                 | $$$$  /$$$$ | $$  \ $$   | $$   | $$$$| $$                 *
*                 | $$ $$/$$ $$ | $$$$$$$$   | $$   | $$ $$ $$                 *
*                 | $$  $$$| $$ | $$__  $$   | $$   | $$  $$$$                 *
*                 | $$\  $ | $$ | $$  | $$   | $$   | $$\  $$$                 *
*                 | $$ \/  | $$ | $$  | $$  /$$$$$$ | $$ \  $$                 *
*                 |__/     |__/ |__/  |__/ |______/ |__/  \__/                 *
*                                                                              *
*                  Developed by:                                               *
*                                                                              *
*                            Jhon Hader Fernandez                              *
*                     - jhon_fernandez@javeriana.edu.co                        *
*                                                                              *
*                       Pontificia Universidad Javeriana                       *
*                            Bogota DC - Colombia                              *
*                                  Aug - 2020                                  *
*                                                                              *
*****************************************************************************'''

#------------------------------------------------------------------------------#
#                          IMPORT MODULES AND LIBRARIES                        #
#------------------------------------------------------------------------------#

import Shape


#------------------------------------------------------------------------------#
#                                      main                                    #
#------------------------------------------------------------------------------#

if __name__ == '__main__':

    #Ingresar dimensiones de la imagen
    x = int(input("Ingrese width: "))
    y = int(input("Ingrese height: "))
    print("Dimensiones ingresadas:", (x, y))

    #Uso de la clase imageShape
    img = Shape.imageShape(x,y)

    #Generar figura y visualizar por 5 segundos
    img.generateShape()
    img.showShape()

    #Obtencion y clasificacion
    img_genarated, name = img.getShape()
    shape = img.whatShape(img_genarated)
    print("Su figura es: ", shape)

    #Validacion de la clasificacion
    validation = "Correct" if name == shape else "Incorrect"
    print("Classfied was: " + validation)
7b9ea60dbc73d8e162114595f17b9f781f028c8a
<mask token>

<mask token>
if __name__ == '__main__':
    x = int(input('Ingrese width: '))
    y = int(input('Ingrese height: '))
    print('Dimensiones ingresadas:', (x, y))
    img = Shape.imageShape(x, y)
    img.generateShape()
    img.showShape()
    img_genarated, name = img.getShape()
    shape = img.whatShape(img_genarated)
    print('Su figura es: ', shape)
    validation = 'Correct' if name == shape else 'Incorrect'
    print('Classfied was: ' + validation)

<mask token>
import Shape
if __name__ == '__main__':
    x = int(input('Ingrese width: '))
    y = int(input('Ingrese height: '))
    print('Dimensiones ingresadas:', (x, y))
    img = Shape.imageShape(x, y)
    img.generateShape()
    img.showShape()
    img_genarated, name = img.getShape()
    shape = img.whatShape(img_genarated)
    print('Su figura es: ', shape)
    validation = 'Correct' if name == shape else 'Incorrect'
    print('Classfied was: ' + validation)

''' Ruler 1         2         3         4         5         6         7        '
/*******************************************************************************
*                                                                              *
*                  /$$      /$$   /$$$$$$   /$$$$$$  /$$   /$$                 *
*                 | $$$    /$$$  /$$__  $$ |_  $$_/ | $$$ | $$                 *
*                 | $$$$  /$$$$ | $$  \ $$   | $$   | $$$$| $$                 *
*                 | $$ $$/$$ $$ | $$$$$$$$   | $$   | $$ $$ $$                 *
*                 | $$  $$$| $$ | $$__  $$   | $$   | $$  $$$$                 *
*                 | $$\  $ | $$ | $$  | $$   | $$   | $$\  $$$                 *
*                 | $$ \/  | $$ | $$  | $$  /$$$$$$ | $$ \  $$                 *
*                 |__/     |__/ |__/  |__/ |______/ |__/  \__/                 *
*                                                                              *
*                  Developed by:                                               *
*                                                                              *
*                            Jhon Hader Fernandez                              *
*                     - jhon_fernandez@javeriana.edu.co                        *
*                                                                              *
*                       Pontificia Universidad Javeriana                       *
*                            Bogota DC - Colombia                              *
*                                  Aug - 2020                                  *
*                                                                              *
*****************************************************************************'''

#------------------------------------------------------------------------------#
#                          IMPORT MODULES AND LIBRARIES                        #
#------------------------------------------------------------------------------#

import Shape


#------------------------------------------------------------------------------#
#                                      main                                    #
#------------------------------------------------------------------------------#

if __name__ == '__main__':

    #Ingresar dimensiones de la imagen
    x = int(input("Ingrese width: "))
    y = int(input("Ingrese height: "))
    print("Dimensiones ingresadas:", (x, y))

    #Uso de la clase imageShape
    img = Shape.imageShape(x,y)

    #Generar figura y visualizar por 5 segundos
    img.generateShape()
    img.showShape()

    #Obtencion y clasificacion
    img_genarated, name = img.getShape()
    shape = img.whatShape(img_genarated)
    print("Su figura es: ", shape)

    #Validacion de la clasificacion
    validation = "Correct" if name == shape else "Incorrect"
    print("Classfied was: " + validation)