def introduce(name, age):
    # Returning a formatted string instead of printing it directly
    return f"Hello, my name is {name} and I am {age} years old."

# Calling the function and storing the returned value
info = introduce("Nitheesh", 30)

# Now we can print the returned value or use it elsewhere in the code
print(info)


#This approach is more flexible because it lets us decide 
# what to do with the function's output.
#  Since we store the result in info, we can print it, 
# use it in another function, or save it to a file.

