On 2014-03-01 19:28, genius...@gmail.com wrote:
Well, This is what i gotn = int(input("enter number of o: ")) for i in range(n): print("O", end = '') for j in range(n* 2): print("O", end = '') print()
From the examples: The first row has n*2 of 'o' There are n-2 middle rows, each with 'o', then n*2-2 spaces, then 'o' The last row has n*2 of 'o' Incidentally, in your code you're writing 'O', not 'o'. -- https://mail.python.org/mailman/listinfo/python-list