Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Python: Iterating through a range

📅 2009-Sep-28 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ python, ranges ⬩ 📚 Archive

for i in range(10): # 0-9
    for j in range(15, 100): # 15-99
        do_something(i, j)