Scott W Dunning Wrote in message:
>
> On Mar 1, 2014, at 12:47 AM, Ben Finney wrote:
>
>> You've bound the name âcurrent_guessâ to the user's input, but then do
>> nothing with it for the rest of the function; it will be discarded
>> without being used.
> Hmm, Iâm not quite sure I unders
Read in a list of English words. Randomly select a long word and show it to the
contestant. Challenge
the contestant to find shorter words using letters from the long word. They
should type each one
and press Enter. After 30seconds,the game stops accepting entries. It evaluates
the user’s submis
On 02/03/14 18:14, Emeraude kwilu wrote:
selectWord = [ "abjuring",] #this is the random word selected
validWordList = ['bar','bug'...]
Obviously this is not your real code since this is not
valid syntax. And since its clearly homework it will help
us if you post your actual code that is faili
> I am stuck there my loop is not working
> ...
> I know I have to use if and
> else statement but I'm not able to do so :(
Hint:
Set the assignment aside and write a couple smaller practice programs.
Like a very simple one that just asks for a word and prints that word.
Or a simple one that che
On 02/03/2014 18:14, Emeraude kwilu wrote:
[snipped as it's been answered]
Or to put it another way, please use a sensible subject line, there may
be some intelligent people on this list, but we're not mind readers :)
--
My fellow Pythonistas, ask not what our language can do for you, ask
wh
Hi all!
I'm embarrassingly new at Python, so please forgive my probably simple
mistakes.
So I called readlines() on a file, and I'm wondering how I can check the
equality of a specific line with a raw_input set variable as a condition. For
example,
file = open('filename.txt,' 'r')
file.read
On 02/03/2014 21:10, Tyler Simko wrote:
Hi all!
I'm embarrassingly new at Python, so please forgive my probably simple mistakes.
So I called readlines() on a file, and I'm wondering how I can check the
equality of a specific line with a raw_input set variable as a condition. For
example,
fil
On Mar 2, 2014 6:30 PM, "Mark Lawrence" wrote:
>
> On 02/03/2014 21:10, Tyler Simko wrote:
>>
>> Hi all!
>>
>> I'm embarrassingly new at Python, so please forgive my probably simple
mistakes.
>>
>> So I called readlines() on a file, and I'm wondering how I can check the
equality of a specific line
The call to readlines () has a return value that is currently being dropped
to the floor. Look at its value.
Feel free to ask more questions. Good luck!
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail
On 02/03/14 21:10, Tyler Simko wrote:
So I called readlines() on a file, and I'm wondering how
> I can check the equality of a specific line with a raw_input
file = open('filename.txt,' 'r')
file.readlines()
This opens the file and reads all the lines but it
doesn't store the result anywher
On 02/03/2014 23:38, Danny Yoo wrote:
The call to readlines () has a return value that is currently being
dropped to the floor. Look at its value.
Feel free to ask more questions. Good luck!
He'll need it after reading my response, I must stop replying when I'm
knackered and not thinking s
Tyler Simko writes:
> I'm embarrassingly new at Python, so please forgive my probably simple
> mistakes.
Welcome, and congratulations on starting with Python!
No forgiveness needed for asking questions or making mistakes; the
important thing is to learn from both.
> So I called readlines() on
12 matches
Mail list logo