Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python hangman help
#6
(Feb-13-2019, 12:15 AM)A1395 Wrote: Any way around this problem?

That's what I was talking about in my last post. Although thinking about it, what I said wouldn't work. Start a new_temp variable as an empty string at the start of update_puzzle string. Add to that instead of to temp. In the else clause, pull from temp instead of blank. Return new_temp instead of temp.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Python hangman help - by A1395 - Feb-12-2019, 07:17 PM
RE: Python hangman help - by ichabod801 - Feb-12-2019, 08:49 PM
RE: Python hangman help - by A1395 - Feb-12-2019, 11:05 PM
RE: Python hangman help - by ichabod801 - Feb-12-2019, 11:39 PM
RE: Python hangman help - by A1395 - Feb-13-2019, 12:15 AM
RE: Python hangman help - by ichabod801 - Feb-13-2019, 03:12 AM
RE: Python hangman help - by A1395 - Feb-13-2019, 05:32 AM
RE: Python hangman help - by ichabod801 - Feb-13-2019, 03:23 PM
RE: Python hangman help - by A1395 - Feb-13-2019, 03:41 PM
RE: Python hangman help - by ichabod801 - Feb-13-2019, 03:47 PM
RE: Python hangman help - by A1395 - Feb-13-2019, 04:01 PM
RE: Python hangman help - by ichabod801 - Feb-13-2019, 04:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Hangman Game - Multiple Letters Problem t0rn 4 4,682 Jun-05-2020, 11:27 AM
Last Post: t0rn
  Hangman metro17 4 3,022 Sep-18-2019, 10:59 AM
Last Post: perfringo
  Trouble coding hangman Tay 1 2,364 Mar-28-2019, 01:57 AM
Last Post: ichabod801
  Hangman code problem KrakowKid 1 2,405 Feb-25-2019, 06:29 PM
Last Post: ichabod801
  Hangman 2skywalkers 3 71,102 Oct-19-2018, 01:49 PM
Last Post: ichabod801
  Hangman Help. 2skywalkers 4 4,190 Jun-26-2018, 02:49 AM
Last Post: ichabod801
  Python Hangman Replacing "_" with letters. 2skywalkers 6 12,082 Jun-25-2018, 12:01 PM
Last Post: gruntfutuk
  Simple Hangman Game Issue andrew95 2 4,351 Apr-02-2018, 02:24 PM
Last Post: andrew95
  Designing Hangman game spacetimeguy 2 5,136 Feb-02-2018, 08:55 PM
Last Post: spacetimeguy
  TKinter Hangman Game Bumble 1 20,549 Jul-19-2017, 06:56 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020