Python3 -Code, um dreieckige Zahlenreihen zu finden

# Python3 code to find Triangular
# Number Series
  
def triangular_series(n):
  
     for i in range(1, n + 1):
         print( i*(i+1)//2,end=' ')
  
# Driver code
n = 5
triangular_series(n)
Travinth Dayalaeaswaran