[Tutor] (no subject)

2014-05-08 Thread Kevin Johnson
Hi, Total beginner to python and am working my way through Michael Dawsons 'Absolute beginner' book. Just got stuck on the last bit of the challenges from chapter 3. Essentially need to create a game where the user picks a number between 1 and 100 and the computer has to guess, program should indi

Re: [Tutor] Tutor Digest, Vol 123, Issue 27

2014-05-08 Thread Kevin Johnson
ndex 0) makes 11. So the length of the string is 11, but the highest > index is 10. > > So greeting[0] gives "H", greeting[1] gives "e", greeting[2] gives "l", > and so on, until you get to greeting[10] which gives "d", and > greeting[len(greeting)]