Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] python class
#2
People round here are a bit leery of clicking random links. Please post your code, in Python tags (see the BBCode link below for instructions), and we will be glad to help you out.

My guess without seeing your code is that the coin flipping command is not inside the loop. You're doing it once before the loop, and it's printing out the same result every time through the loop.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
[split] python class - by JPan - Aug-19-2018, 12:35 AM
RE: [split] python class - by ichabod801 - Aug-19-2018, 01:22 AM
RE: [split] python class - by JPan - Aug-19-2018, 01:57 AM
RE: [split] python class - by ichabod801 - Aug-19-2018, 03:33 AM
RE: [split] python class - by JPan - Aug-19-2018, 06:13 AM
RE: [split] python class - by ichabod801 - Aug-19-2018, 12:55 PM
RE: [split] python class - by JPan - Aug-19-2018, 04:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Class test : good way to split methods into several files paul18fr 4 544 Jan-30-2024, 11:46 AM
Last Post: Pedroski55
  [split] Class takes no arguments bily071 2 675 Oct-23-2023, 03:59 PM
Last Post: deanhystad
  [split] Python Class Problem astral_travel 12 5,081 Apr-29-2020, 07:13 PM
Last Post: michael1789
  split by character class Skaperen 3 2,382 Jul-15-2019, 02:29 AM
Last Post: Skaperen
  Converting c++ class to python class panoss 12 11,940 Jul-23-2017, 01:16 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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