# class Person:
#     def __init__(self,first_name,last_name,age):
#         self.first_name=first_name
#         self.last_name=last_name
#         self.age=age
        
        
# p1=Person('rajan','singh',24)
# p2=Person('mohit','yadev',19)

# print(p1.first_name)
# print(p2.first_name)

# class Laptop:
#     def __init__(self,brand_name,prise):
#         self.brand_name=brand_name
#         self.prise=prise
        
# l1=Laptop("dell",24000)
# l2=Laptop('lenovo',28000)

# print(l1.brand_name)

# class Person:
#     def __init__(self,first_name,last_name,age):
#         self.first_name=first_name
#         self.last_name=last_name
#         self.age=age 
#     def full_name(self):
#         return f"{self.first_name} {self.last_name}"
#     def is_above(self):
#         return self.age>18
            
        
# p1=Person("rajan",'singh',24)
# print(p1.full_name())
# print(p1.is_above())
    
