Code snippet id variables formatting issue in Python Certification Working with Loops and Sequences

Working with Loops and Sequences - What Are the Enumerate and Zip Functions and How Do They Work? | Learn | freeCodeCamp.org

Noticed small ‘id’ HTML tags issues in code:

developers = ['Naomi', 'Dario', 'Jessica', 'Tom']
ids = [1, 2, 3, 4]

for name, id in zip(developers, ids):
    print(f'Name: {name}')
    print(f'ID: {id}')

id are sets with id, but to be consistent with other vars they should be set as plain text " id". Or am i missing something here?

Do you mean the id has different color than ie. name? I guess that’s because Python actually has built-in function id, so syntax-highlighter must be confusing the shadowed variable with function.

If you want to use a built-in name as your variable name (id, sum, …etc), it is a convention in Python to add an underscore at the end (id_, sum_, …etc).