
def student_info(*args, **kwargs):
    print(args)
    print(kwargs)
    print(f'Value: {kwargs["name"]}')


courses = ['Python', 'SQL', 'GCP', 'Airflow']
info = {'name': 'John', 'age': '23'}

student_info(*courses, **info)
# student_info(courses, info)  # both will be considered to be positional arguments

079e6fe5766990881b2d854ff88f9e6d10b7f14c
<mask token>

def student_info(*args, **kwargs):
    print(args)
    print(kwargs)
    print(f"Value: {kwargs['name']}")


<mask token>

def student_info(*args, **kwargs):
    print(args)
    print(kwargs)
    print(f"Value: {kwargs['name']}")


<mask token>
student_info(*courses, **info)

def student_info(*args, **kwargs):
    print(args)
    print(kwargs)
    print(f"Value: {kwargs['name']}")


courses = ['Python', 'SQL', 'GCP', 'Airflow']
info = {'name': 'John', 'age': '23'}
student_info(*courses, **info)


def student_info(*args, **kwargs):
    print(args)
    print(kwargs)
    print(f'Value: {kwargs["name"]}')


courses = ['Python', 'SQL', 'GCP', 'Airflow']
info = {'name': 'John', 'age': '23'}

student_info(*courses, **info)
# student_info(courses, info)  # both will be considered to be positional arguments
