Netbyzz
#CODE = #B036 def floyds_triangle(n): num = 1 for i in range(1, n + 1): for j in range(1, i + 1): print(num, end=' ') num += 1 print() # Example usage floyds_triangle(5)