#3 Right Triangle with Natural Numbers Subham DasJun 6, 20191 min readn=int(input("Enter Number :"))#Pattern 3 print('(03)') i = 1 while i <= n : j = 1 while j <= i : print(j, end=" ") j += 1 i += 1 print() print()
n=int(input("Enter Number :"))#Pattern 3 print('(03)') i = 1 while i <= n : j = 1 while j <= i : print(j, end=" ") j += 1 i += 1 print() print()
#2 Right Triangle with Natural Numbers Subham DasJun 6, 20191 min readn = int(input("Enter Number:"))#Pattern 2 print('(02)') i = 1 while i <= n : j = 1 while j <= i : print(i, end=" ") j += 1 i += 1 print() print()
n = int(input("Enter Number:"))#Pattern 2 print('(02)') i = 1 while i <= n : j = 1 while j <= i : print(i, end=" ") j += 1 i += 1 print() print()
#1 Right TriangleSubham DasJun 6, 20191 min readn=int(input("Enter Number:")) #Pattern 1 print('(01)') i = 1 while i <= n : j = 0 while j <= i-1 : print('*', end=" ") j += 1 i += 1 print() print()
n=int(input("Enter Number:")) #Pattern 1 print('(01)') i = 1 while i <= n : j = 0 while j <= i-1 : print('*', end=" ") j += 1 i += 1 print() print()