skull = "💀" 
not_skull = 42
maybe_skull = 42.2341232412387246124612783472178234832784572

print(type(skull))
print(type(not_skull))
print(type(maybe_skull))
<class 'str'>
<class 'int'>
<class 'float'>
a = 31
b = 15
sdf = 23

a = b
b = sdf
sdf = a

print(a , b, sdf)
15 23 15
sting = "aibohphobia"
print(sting[8])
b
class cat:
    def __init__(cat, aliveordead, age):
        cat.aliveordead = aliveordead
        cat.age = age




def FR(self):
    print(cat.aliveordead)
class Person:
    def __init__(self, name, age):
        self.name = name
        self.age = age

def print_people(people):
    for person in people:
        print(f"{person.name}: {person.age} years old")

def find_oldest_person(people_dict):
    if not people_dict:
        return "No people in the dictionary"

    oldest_person = max(people_dict, key=people_dict.get)
    return f"The oldest person is {oldest_person} with age {people_dict[oldest_person]} years old"


# Example usage:

# Create a list of people
people_list = [Person("Jim", 2039), Person("Henry", 1029), Person("Augustus", 4)]

# Call the print_people function with the list of people
print_people(people_list)

# Create a dictionary of people and their ages
people_dict = {"Jimothy": 5000, "Everest": 350, "Frankfurt": 45}

# Call the find_oldest_person function with the dictionary
oldest_person_info = find_oldest_person(people_dict)
print(oldest_person_info)

Jim: 2039 years old
Henry: 1029 years old
Augustus: 4 years old
The oldest person is Jimothy with age 5000 years old
Data abstraction is a fundamental concept in computer science and programming.

It involves simplifying complex systems by hiding unnecessary details and exposing only relevant information.

Abstraction allows programmers to focus on the essential aspects of a problem while ignoring less important ones.

In programming, data abstraction involves defining data structures and operations on those structures without revealing their internal implementations.

Abstract data types (ADTs) are high-level descriptions of data structures and the operations that can be performed on them.

Data abstraction can be implemented through classes and objects in object-oriented programming languages.

Encapsulation is a key concept in data abstraction, where data and methods that operate on that data are bundled together to form a cohesive unit.