Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #37009
| Date | 2013-01-18 16:44 +0000 |
|---|---|
| From | Ian Foote <ian@feete.org> |
| Subject | Re: Beginner Tutorials |
| References | <2e694a98-8a50-472e-89a0-92212a00464b@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.638.1358527498.2939.python-list@python.org> (permalink) |
On 18/01/13 14:47, Rik wrote:
> Hi, I've developed a website for beginners to Python. I'd appreciate any comments or criticism. It's still under development, and should be finished in the next few months. Oh, and it's free to use.
>
> www.usingpython.com
>
Your example code on http://usingpython.com/variables/ is missing a space:
#Whatever the user enters is stored in a variable called ‘name’.
name = input("What is your name? ")
# Remember how we can use + to ‘add’ strings together?
print("Hello" + name + "!")
Here's my output:
>>> name = input("What is your name? ")
What is your name? Ian
>>> print("Hello" + name + "!")
HelloIan!
Your final print should be:
print("Hello " + name + "!")
Regards,
Ian F
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Beginner Tutorials Rik <rik.j.cross@gmail.com> - 2013-01-18 06:47 -0800
Re: Beginner Tutorials marco.kretz@jobmensa.de - 2013-01-18 07:53 -0800
Re: Beginner Tutorials Virgil Stokes <vs@it.uu.se> - 2013-01-18 16:52 +0100
Re: Beginner Tutorials Rik <rik.j.cross@gmail.com> - 2013-01-18 08:55 -0800
Re: Beginner Tutorials Rik <rik.j.cross@gmail.com> - 2013-01-18 08:55 -0800
Re: Beginner Tutorials Joel Goldstick <joel.goldstick@gmail.com> - 2013-01-18 11:35 -0500
Re: Beginner Tutorials Rik <rik.j.cross@gmail.com> - 2013-01-18 09:04 -0800
Re: Beginner Tutorials Joel Goldstick <joel.goldstick@gmail.com> - 2013-01-18 12:34 -0500
Re: Beginner Tutorials Ritchie Flick <xenplex@gmail.com> - 2013-01-18 18:44 +0100
Re: Beginner Tutorials rh <richard_hubbe11@lavabit.com> - 2013-01-18 11:14 -0800
Re: Beginner Tutorials Kwpolska <kwpolska@gmail.com> - 2013-01-18 20:20 +0100
Re: Beginner Tutorials Kwpolska <kwpolska@gmail.com> - 2013-01-19 12:46 +0100
Re: Beginner Tutorials Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-18 17:25 -0800
Re: Beginner Tutorials Evan Driscoll <driscoll@cs.wisc.edu> - 2013-01-18 22:36 -0600
Re: Beginner Tutorials Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-18 22:22 -0800
Re: Beginner Tutorials Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-18 22:22 -0800
Re: Beginner Tutorials Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-18 17:25 -0800
Re: Beginner Tutorials Rik <rik.j.cross@gmail.com> - 2013-01-18 09:04 -0800
Re: Beginner Tutorials Ian Foote <ian@feete.org> - 2013-01-18 16:35 +0000
Re: Beginner Tutorials Ian Foote <ian@feete.org> - 2013-01-18 16:44 +0000
Re: Beginner Tutorials Rik <rik.j.cross@gmail.com> - 2013-01-18 09:16 -0800
Re: Beginner Tutorials Rik <rik.j.cross@gmail.com> - 2013-01-18 09:16 -0800
csiph-web