User input star pattern programming in python.. num1=int(input ()) for i in range (1, num1) : for j in range (1, num1) : if(j<=i) : print("*", end=' ') else : print (" ", end=' ') print () _______________________________________________ Expected output Let that user input 5 so print as... * ** *** ****
Mystery of chanakya life Chanakya ( IAST : Cāṇakya , pronunciation ( help · info ) ) was an ancient Indian teacher, philosopher, economist, jurist and royal advisor. He is traditionally identified as Kauṭilya or Vishnugupta , who authored the ancient Indian political treatise, the Arthashastra , [3] a text dated to roughly between the 2nd century BCE and the 3rd century CE. [4] As such, he is considered the pioneer of the field of political science and economics in India, and his work is thought of as an important precursor to classical economics . [5] [6] [7] [8] His works were lost near the end of the Gupta Empire and not rediscovered until the early twentieth century. [6] Some importance facts of chanakya
Comments
Post a Comment