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


Groups > comp.lang.python > #52855

Re: Replace blanks with letter

From Dave Angel <davea@davea.name>
Subject Re: Replace blanks with letter
Date 2013-08-23 01:28 +0000
References <2bdbd16f-a676-4973-9866-db93b1b9cd9b@googlegroups.com> <060f97db-188d-4078-9d87-c70230914ff1@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.147.1377221330.19984.python-list@python.org> (permalink)

Show all headers | View raw


eschneider92@comcast.net wrote:

> I wanted the program to stop only after all the letters were typed; why in the world would I try to write a program with blanks for each letter that seem intended to be filled, only to have it stop if the last letter is typed, or have to type each letter so many times until its processed? If you ran the code, my problems, as well as the intended goal, should become obvious. Also, why wouldn't someone who's willing to help me not run the code (takes a few seconds btw) I'm having trouble with in order to diagnose its faults, yet you have the time to write how you won't run it? If I did have a teacher to help me, this would be the last place I'd come to for help. It should be easy to deduce what I intended this program to do. Please no one respond being as I am done here, I just had to vent, 
>  but instead report it if you want.

It would have been much fewer words to describe the goal of the program.

I ran the code, and showed the results of running it.  But I still have
no spec for what your assignment was.

Like maybe the user is supposed to type one character at each prompt,
even though it tells him to type 7.  And the program should refuse
any attempt to type more than one letter.  And the user can type the
characters in any order, not just A to G, and it'll keep prompting him
till all 7 of the original letters is found. And it'll score him based
on how many tries before he finishes.

Or about 40 other possibilities.


If you do have a teacher, have him tell you about comments.

-- 
DaveA

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


Thread

Replace blanks with letter eschneider92@comcast.net - 2013-08-20 01:35 -0700
  Re: Replace blanks with letter Fábio Santos <fabiosantosart@gmail.com> - 2013-08-20 10:16 +0100
  Re: Replace blanks with letter Peter Otten <__peter__@web.de> - 2013-08-20 11:19 +0200
  Re: Replace blanks with letter eschneider92@comcast.net - 2013-08-20 13:45 -0700
    Re: Replace blanks with letter Dave Angel <davea@davea.name> - 2013-08-20 21:54 +0000
  Re: Replace blanks with letter eschneider92@comcast.net - 2013-08-21 00:49 -0700
    Re: Replace blanks with letter Chris Angelico <rosuav@gmail.com> - 2013-08-21 19:24 +1000
    Re: Replace blanks with letter Dave Angel <davea@davea.name> - 2013-08-21 11:42 +0000
    Re: Replace blanks with letter John Gordon <gordon@panix.com> - 2013-08-21 14:35 +0000
  Re: Replace blanks with letter eschneider92@comcast.net - 2013-08-22 15:42 -0700
    Re: Replace blanks with letter Dave Angel <davea@davea.name> - 2013-08-23 01:28 +0000
  Re: Replace blanks with letter eschneider92@comcast.net - 2013-08-22 15:44 -0700

csiph-web