Forum: Python Nov 4th, 2006 |
| Replies: 14 Views: 3,904 Another possible challenge, have it able to access a text file from the computer containing a bunch of possible words, so the user can add their own if they wish. |
Forum: Python Nov 2nd, 2006 |
| Replies: 12 Views: 2,594 For and While loops serve different functions, you can actually make a For loop using a while loop (though I don't reccomend it.)
Here's a useful function for text-based games:
def... |
Forum: Python Oct 28th, 2006 |
| Replies: 2 Views: 855 Tuples are great for constants because you won't accidently change them, they're also faster and use less space then lists, iirc. |