Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] python class
#1
Hi guys, I'm totally new - I mean totally new to coding. So I go trough the basics and it already seems like rocket science for me.
I made a code for the COIN FLIPPING game and it gives me random results head/tail only with IF , ELSE function. But once I add the WHILE function and I want it to print 100 results I get 100 heads one time and 100 tails next time ..

Could you please look at it and tell me what is the problem with it...., thanks.

https://gyazo.com/d45fb6f88f08e7edd39940259fa8ef0f
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
  [split] Class and methods ebn852_pan 15 848 May-23-2024, 11:57 PM
Last Post: ebn852_pan
  Class test : good way to split methods into several files paul18fr 4 626 Jan-30-2024, 11:46 AM
Last Post: Pedroski55
  [split] Class takes no arguments bily071 2 733 Oct-23-2023, 03:59 PM
Last Post: deanhystad
  [split] Python Class Problem astral_travel 12 5,158 Apr-29-2020, 07:13 PM
Last Post: michael1789
  split by character class Skaperen 3 2,424 Jul-15-2019, 02:29 AM
Last Post: Skaperen
  Converting c++ class to python class panoss 12 12,056 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