human
I am working on the file "CuadernosPython/.ipynb_checkpoints/3._clases_y_herencia-checkpoint.ipynb".
The first task is:
regresando al ejemplo
Can you write Python code for it?
 What is a the Python code you requested?
assistant
#Here is the Python code you requested.

class Persona:
    def __init__(self, nombre, edad, altura, peso):
        self.nombre = nombre
        self.edad = edad
        self.altura = altura
        self.peso = peso
        self.gordura = peso / altura

juan = Persona("Juan Perez", 30, 175, 80)

juan.__dict__

juan.peso = 76

juan.__dict__