News for hackers. Stuff that matters.
Re:For loops help - comp.lang.c by BoppreH on Thursday May 13, 2010 @10:27PM (#1346370)
That actually doesn't do the trick because there is only one line 9 asterisks wide when it should be two. I don't think you can accomplish this replacing max/min with any combination of abs.
Re:For loops help - comp.lang.c by joss82 on Friday May 14, 2010 @05:07PM (#1348603)
You're right, but I couldn't correct it right away (because of noprocrast and life). Also, formatting was wrong:

print '\n'.join([" "abs(int(4.5-i)) + ""(10-abs(9-i2)) for i in range(10)])