# This program reads a positive integer n and # also reads n data and prints the largest # among them n = input("Enter the data count: ") lrgst, i = input("Enter the 1st data: "), 2 while i <= n: data = input("Enter the next data: ") if data > lrgst: lrgst = data i = i + 1 print "Largest data is: ", lrgst