i = 1
while i < 10:
    j = i
    while j < 10:
        print(f"{j} ", end="")
        j = j + 1
    print("")
    i = i + 1
print("Complete!")

Tips for Nested Loops

  • Understand Boolean Expressions
  • Combine Loops
  • Simple Loops