top of page

#2 Right Triangle with Natural Numbers

  • Subham Das
  • Jun 6, 2019
  • 1 min read

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()



Comments


logo12.PNG

Join my mailing list

2019 established by trueprogrammer

bottom of page