Kode Python3 untuk menemukan seri nomor segitiga

# 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