Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #37009

Re: Beginner Tutorials

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ian@feete.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'be:': 0.09; 'beginners': 0.09; 'oh,': 0.09; 'stored': 0.10; 'finished': 0.15; 'from:addr:ian': 0.16; 'received:172.20.0': 0.16; 'received:208.97.132.81': 0.16; 'wrote:': 0.17; '>>>': 0.18; 'variable': 0.20; "i'd": 0.22; 'example': 0.23; "i've": 0.23; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'name?': 0.29; 'received:208.97': 0.29; 'received:208.97.132': 0.29; 'received:dreamhost.com': 0.29; 'received:g.dreamhost.com': 0.29; 'code': 0.31; 'print': 0.32; 'comments': 0.33; 'to:addr :python-list': 0.33; 'hi,': 0.33; 'next': 0.35; 'should': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'called': 0.39; 'your': 0.60; 'free': 0.61; 'developed': 0.62; 'received:208': 0.63; 'charset:windows-1252': 0.65; 'url:variables': 0.84
DKIM-Signature v=1; a=rsa-sha1; c=relaxed; d=feete.org; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=feete.org; bh=91ALB6O ORV8obnFgfIdi3FhY2sY=; b=Fgsjn2XU9ZkjPkNY2rrLWPKfyYNbv6Z+Way9XCi G3rpeECbfGRFvdQntczbDB2s+BWYBhMa51d09urrnSxru6YJQZUcnA2MsgF7QcHl FjdfwFAYbEY+jMkaReZkjqsprX168EybShk4cTHwsUx70SUHZrUCQ2Irqq8WpEZn VVOE=
Date Fri, 18 Jan 2013 16:44:46 +0000
From Ian Foote <ian@feete.org>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
MIME-Version 1.0
To python-list@python.org
Subject Re: Beginner Tutorials
References <2e694a98-8a50-472e-89a0-92212a00464b@googlegroups.com>
In-Reply-To <2e694a98-8a50-472e-89a0-92212a00464b@googlegroups.com>
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.638.1358527498.2939.python-list@python.org> (permalink)
Lines 29
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1358527498 news.xs4all.nl 6898 [2001:888:2000:d::a6]:44246
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:37009

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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