[Tutor] need help with python for counter

2012-12-18 Thread Brandon Merritt
t += 1 else: count = 0 print count Thanks, Brandon -- *Brandon Merritt** (707) 481-1744* * * ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

[Tutor] still confused about for loops

2012-12-18 Thread Brandon Merritt
Sorry, I am just so confused and aggravated as to why this won't work - why doesn't it print out the whole list? : number = raw_input('Enter a 7-unit number: ') for i in number: count = [] count.append(i) print count >>> Enter a 7-unit number: 7895329

[Tutor] another for loop question - latin square

2012-12-30 Thread Brandon Merritt
I am having trouble figuring out a solution after a couple hours now of playing with the code. I'm trying to make a latin square using the code below: scaleorder = int(raw_input('Please enter a number for an n*n square: ')) topleft = int(raw_input('Please enter the top left number for the square

Re: [Tutor] Tutor Digest, Vol 106, Issue 74

2013-01-01 Thread Brandon Merritt
o > tutor-requ...@python.org > > You can reach the person managing the list at > tutor-ow...@python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Tutor digest..." > > > Today's Topics: &g