Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

python learners course day 1

Name: i help teach u py 2011-05-09 23:52

Hi i am a new programer and i wnt to help my fellow programer to learn with me thru me experience here is some tips for pythonista out there :)))

u can do like if i in range(n): and then have simple repeater that way like u can use a print statement and then u can do like %s % stuff to put other stuff in the percent s nd then u can also do soethin cool like {0} and {1} % for multiples and then u can also do like cool stuff with dictionaries somethin cool i lrnt is u can do sometthin like dict.get(value)to get a dictionary value and then assign it if u wnt and then u can also do if soething == 'blah' and then have somethin happen and u can also do like random.randint(3, 34) or random.choice aor u can even do all this other stuff


ff hacking is righteous!

Name: Anonymous 2011-05-10 1:51

>>1 Your [i][b]challenge[b][i], is to make that a one-liner.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List