Search found 3 matches
Search found 3 matches • Page 1 of 1
- Wed Aug 19, 2009 4:46 am UTC
- Forum: Individual XKCD Comic Threads
- Topic: 0625: "Collections"
- Replies: 137
- Views: 34801
In response to the title text, if you factor in Pratchett's theory of L-Space, you probably wouldn't need a whole lot. It would depend on the size of your book collection as is, but if you had a healthy (or not-so healthy) amount of fantasy novels, some Dave Barry, maybe a couple of Mark Twain books...
Just to nitpick, how did you come up with c1 and c2 for variable names? and n for age? Sorry, I'm a bit of a newbie at the whole programming thing (I started about... maybe a little less than a month ago), so generally my variables aren't as clear as they should be. I use n because a lot of the boo...
Okay, I'm probably about as new to Python as Korvost, but I actually did the same program last week and came up with this: def date(): n = input('How old are you? ') c1 = (n/2)+ 7 c2 = (n*2)-14 print "You shouldn't date someone under age", c1, "or over age", c2 I found the upper ...