On 03/02/2014 07:43 AM, genius...@gmail.com wrote:
> I agree with you and really appreciate your experience. But what I
> was looking for is clues. Thank you anyway
Not sure what you mean. Chris certainly offered you clues to solving
this problem. Certainly he pointed you in the right direction t
On Sunday, March 2, 2014 4:43:48 PM UTC+2, geni...@gmail.com wrote:
> I agree with you and really appreciate your experience. But what I was
> looking for is clues. Thank you anyway
#not tested
for i in range(n):
for j in range(n*2):
if i in (0, n - 1) or j in (0, n*2 - 1):
print('o',
On 02/03/2014 14:43, genius...@gmail.com wrote:
I agree with you and really appreciate your experience. But what I was looking
for is clues. Thank you anyway
Sorry, can't resist this one https://www.youtube.com/watch?v=oaGpaj2nHIo :)
--
My fellow Pythonistas, ask not what our language can do
I agree with you and really appreciate your experience. But what I was looking
for is clues. Thank you anyway
--
https://mail.python.org/mailman/listinfo/python-list
genius...@gmail.com Wrote in message:
> Well, This is what i got
>
> n = int(input("enter number of o: "))
>
> for i in range(n):
> print("O", end = '')
> for j in range(n* 2):
> print("O", end = '')
>
> print()
>
Are you permitted to write and call functions? If so,
On Sun, Mar 2, 2014 at 6:28 AM, wrote:
> Well, This is what i got
>
> n = int(input("enter number of o: "))
>
> for i in range(n):
> print("O", end = '')
> for j in range(n* 2):
> print("O", end = '')
>
> print()
Okay! Good. Now, presumably this isn't working yet, or you woul
On 2014-03-01 19:28, genius...@gmail.com wrote:
Well, This is what i got
n = 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
Well, This is what i got
n = int(input("enter number of o: "))
for i in range(n):
print("O", end = '')
for j in range(n* 2):
print("O", end = '')
print()
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, Mar 2, 2014 at 6:12 AM, wrote:
> Create a big box out of n rows of little o's for any desired size n. Use an
> input statement to allow the user to enter the value for n and then print the
> properly sized box.
How far have you gotten so far with your homework? Show us some code
and we
Hi
Can anyone help with this problem
Create a big box out of n rows of little o's for any desired size n. Use an
input statement to allow the user to enter the value for n and then print the
properly sized box.
E.g. n = 3
oo
oo
oo
E.g
10 matches
Mail list logo