Skip to content
RED SAG Skills
easyStudy question · answer published in Python interview questions, so no pointspythonloops

Numbering rows from 1

You want to print a ranked list starting at 1. What does this print first?

names = ["Asha", "Omar", "Ravi"]
for i, name in enumerate(names, start=1):
    print(i, name)
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions