# FUNCTIONS -- NOTE:: NO FORWARD CARRYING AVAILABLE i.e; CAN'T USE BEFORE DECLARATION
# FUNCTION DEFINITION WITHOUT ARGUMENTS
def greet_someone():
    print("Hello,How are you?")


# CALL TO FUNCTION
greet_someone()


# FUNCTION WITH ARGUMENTS
def greet_someone_with_parameters(name, age):
    print(f"Hello {name}, how are you?")
    print(f"Your age is {age}")


# CALL FUNCTION
greet_someone_with_parameters("Foo", 15)


# FUNCTION WITH DEFAULT VALUES
def greet_with_default_parameters(name="Default name", age=-1):
    print(f"Hello {name}")
    if age >= 0:
        print(f"Your age is {age}")


# CALL FUNCTION
greet_with_default_parameters()


# FUNCTION WITH RETURN VALUES
def is_adult(age):
    if age >= 18:
        return True
    else:
        return False


# CALL FUNCTION
if is_adult(16):
    print("You are an adult :(")
else:
    print("Not yet an adult :)")

3bb6ee865806c6ede2290f8ec9b561d6aa542ca1
def greet_someone():
    print('Hello,How are you?')


<mask token>


def is_adult(age):
    if age >= 18:
        return True
    else:
        return False


<mask token>

def greet_someone():
    print('Hello,How are you?')


<mask token>


def greet_someone_with_parameters(name, age):
    print(f'Hello {name}, how are you?')
    print(f'Your age is {age}')


<mask token>


def is_adult(age):
    if age >= 18:
        return True
    else:
        return False


<mask token>

def greet_someone():
    print('Hello,How are you?')


<mask token>


def greet_someone_with_parameters(name, age):
    print(f'Hello {name}, how are you?')
    print(f'Your age is {age}')


<mask token>


def greet_with_default_parameters(name='Default name', age=-1):
    print(f'Hello {name}')
    if age >= 0:
        print(f'Your age is {age}')


<mask token>


def is_adult(age):
    if age >= 18:
        return True
    else:
        return False


<mask token>

def greet_someone():
    print('Hello,How are you?')


greet_someone()


def greet_someone_with_parameters(name, age):
    print(f'Hello {name}, how are you?')
    print(f'Your age is {age}')


greet_someone_with_parameters('Foo', 15)


def greet_with_default_parameters(name='Default name', age=-1):
    print(f'Hello {name}')
    if age >= 0:
        print(f'Your age is {age}')


greet_with_default_parameters()


def is_adult(age):
    if age >= 18:
        return True
    else:
        return False


if is_adult(16):
    print('You are an adult :(')
else:
    print('Not yet an adult :)')

# FUNCTIONS -- NOTE:: NO FORWARD CARRYING AVAILABLE i.e; CAN'T USE BEFORE DECLARATION
# FUNCTION DEFINITION WITHOUT ARGUMENTS
def greet_someone():
    print("Hello,How are you?")


# CALL TO FUNCTION
greet_someone()


# FUNCTION WITH ARGUMENTS
def greet_someone_with_parameters(name, age):
    print(f"Hello {name}, how are you?")
    print(f"Your age is {age}")


# CALL FUNCTION
greet_someone_with_parameters("Foo", 15)


# FUNCTION WITH DEFAULT VALUES
def greet_with_default_parameters(name="Default name", age=-1):
    print(f"Hello {name}")
    if age >= 0:
        print(f"Your age is {age}")


# CALL FUNCTION
greet_with_default_parameters()


# FUNCTION WITH RETURN VALUES
def is_adult(age):
    if age >= 18:
        return True
    else:
        return False


# CALL FUNCTION
if is_adult(16):
    print("You are an adult :(")
else:
    print("Not yet an adult :)")
