📅  最后修改于: 2022-03-11 14:46:20.925000             🧑  作者: Mango
presidents = ["Washington", "Adams", "Jefferson", "Madison", "Monroe", "Adams", "Jackson"]
for num, name in enumerate(presidents, start=1):
print("President {}: {}".format(num, name))