Python code help.
|
2014-09-30, 09:10
Post: #11
|
|||||||
|
|||||||
RE: Python code help.
or just use code and /code in here and spoil when it gets too long:
superintelligent code inside (Click to View) just some general advice. always make a good plan or diagram before u even start thinking of coding. that helps alot looking at single chunks part by part. for example ns diagram (Wiki Nassi Shneiderman) or at least just a simple scribble: Quote:The code still needs work to allow the guesses to be stringed together and not on separate lines. not sure if i understand u correctly, but i would go for a dummy. so if your word is "red" u check length(3) crate dummy "___". then something like Code: for i=0 to length(word) also when guessing a letter i would assure that the letter is only a single letter(eg. length=1) and that the letter is not in right_letters or wrong_letters. |
|||||||
|
|||||||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Python code help. - Carl - 2014-09-15, 21:26
RE: Python code help. - Frozen - 2014-09-15, 21:30
RE: Python code help. - Carl - 2014-09-15, 21:32
RE: Python code help. - Matt - 2014-09-16, 00:09
RE: Python code help. - Carl - 2014-09-16, 06:18
RE: Python code help. - Carl - 2014-09-28, 19:27
RE: Python code help. - Matt - 2014-09-28, 23:24
RE: Python code help. - Matt - 2014-09-29, 15:23
RE: Python code help. - Carl - 2014-09-29, 19:12
RE: Python code help. - Chuck - 2014-09-30, 06:17
RE: Python code help. - Barney - 2014-09-30 09:10
|
Possibly Related Threads... | |||||
Thread: | Author | Replies: | Views: | Last Post | |
code 43 driver not starting | bowler | 2 | 3,173 |
2018-06-04 15:52 Last Post: bowler |
User(s) browsing this thread: 3 Guest(s)
Powered By MyBB, © 2002-2024 MyBB Group