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


Groups > comp.lang.python > #78700

Re: Python Basics

From Peter Pearson <pkpearson@nowhere.invalid>
Newsgroups comp.lang.python
Subject Re: Python Basics
Date 2014-10-04 17:42 +0000
Message-ID <c9apsgFp0ikU1@mid.individual.net> (permalink)
References <3c9504c9-6906-4358-b14c-5764bba70a65@googlegroups.com> <78au2a12nlq6nipske1a327p14dvgvakug@4ax.com> <mailman.14588.1412377559.18130.python-list@python.org> <542f48e7$0$13014$c3e8da3$5496439d@news.astraweb.com>

Show all headers | View raw


On Sat, 04 Oct 2014 11:09:58 +1000, Steven D'Aprano wrote:
> Chris Angelico wrote:
>
>> On Sat, Oct 4, 2014 at 8:54 AM, Seymore4Head
>> <Seymore4Head@hotmail.invalid> wrote:
>
>>> for i in range(1,10):
>>>     print (str(i)*i)
>> 
>> Seymour, please don't do this. When you "help" someone by just giving
>> him the answer to a homework problem, you get him past his immediate
>> issue of "I need to submit my homework for this problem". That lets
>> him get through his course without understanding the code he's
>> creating
> [...]
>
> In fairness to Seymour, at this extremely basic level, it's really hard to
> explain to somebody how to solve a problem without giving them the answer.
>
> While I don't condone mindless parroting of work that others have done,
> remember that for tens of thousands of years, being shown how to do
> something, then imitating that, has been the most effective way for people
> to learn. Dropping hints is typically the least effective learning method.

This has gotta be the most civilised newsgroup on the Net.  Kudos to
you stalwarts who keep it that way.

Personally, I thought Tobiah's hint, printing 'a'*4, would be just
what the OP needed.

-- 
To email me, substitute nowhere->runbox, invalid->com.

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Python Basics diarmuid.higgins@mycit.ie - 2014-10-03 10:35 -0700
  Re: Python Basics Chris Angelico <rosuav@gmail.com> - 2014-10-04 03:42 +1000
    Re: Python Basics diarmuid.higgins@mycit.ie - 2014-10-03 10:44 -0700
      Re: Python Basics Chris Angelico <rosuav@gmail.com> - 2014-10-04 03:47 +1000
        Re: Python Basics diarmuid.higgins@mycit.ie - 2014-10-03 10:54 -0700
          Re: Python Basics Chris Angelico <rosuav@gmail.com> - 2014-10-04 04:04 +1000
          Re: Python Basics Tobiah <toby@tobiah.org> - 2014-10-03 11:34 -0700
  Re: Python Basics Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-03 18:54 -0400
    Re: Python Basics Chris Angelico <rosuav@gmail.com> - 2014-10-04 09:05 +1000
      Re: Python Basics Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-04 11:09 +1000
        Re: Python Basics Chris Angelico <rosuav@gmail.com> - 2014-10-04 12:24 +1000
        Re: Python Basics alister <alister.nospam.ware@ntlworld.com> - 2014-10-04 09:10 +0000
        Re: Python Basics Peter Pearson <pkpearson@nowhere.invalid> - 2014-10-04 17:42 +0000
      Re: Python Basics Tobiah <toby@tobiah.org> - 2014-10-09 11:26 -0700
        Re: Python Basics Chris Angelico <rosuav@gmail.com> - 2014-10-10 08:38 +1100
  Re:Python Basics Dave Angel <davea@davea.name> - 2014-10-03 19:13 -0400

csiph-web