class jugador:
    tipo= "Delantero"
    def __init__(self):
        self.nombre= "James"
        self.edad= "37"

jugador1=jugador()
print(jugador1.tipo)
print(jugador1.nombre)
print(jugador1.edad)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: