human
I am working on the file "Notas/Notas-Python/.ipynb_checkpoints/01_estructuras-checkpoint.ipynb".
The first task is:
Clases
Can you write Python code for it?
 ... What is a the Python code you requested?
assistant
#Here is the Python code you requested.

class Person:
    def __init__(self, first, last):
        self.first = first
        self.last = last
        
    def greet(self, add_msg = ''):
        print('Hello ' + self.first + ' ' + add_msg)

juan = Person('juan', 'dominguez')
juan.first

juan.greet()