Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: If statement ignored
Post: If statement ignored

I am making a program to test the user on 10 math questions in a random order. At the end they can try again or end it and get their score. For some reason the if statement to check if the user's answ...
Rayaan General Coding Help 2 1,700 May-15-2020, 01:59 AM
    Thread: Accessing Embedded Dictionaries
Post: Accessing Embedded Dictionaries

I am trying to make a program which tests the user on 10 math questions in random order. The questions and answers with the question number are in the dictionary mathsQs and the options for the answer...
Rayaan General Coding Help 1 1,541 May-15-2020, 12:22 AM
    Thread: Input error
Post: Input error

I have only just started using tkinter today and I am getting an error which I cannot work out how to solve. I am making a slot machine and I want to add some GUI. The error is: self.tk = _tkinter.cre...
Rayaan GUI 1 1,562 Mar-30-2020, 02:02 PM
    Thread: Help For Slot Machine Code
Post: Help For Slot Machine Code

I am trying to make a slot machine but am getting some errors that I cannot fix. It is giving me the wrong amount of coins for each win and a single dollar will not give me any coins (Look at rules be...
Rayaan General Coding Help 1 2,694 Mar-30-2020, 03:39 AM
    Thread: Variable not updating
Post: RE: Variable not updating

(Mar-29-2020, 01:33 AM)SheeppOSU Wrote: if "skull" not in slots: match, number = Match(slot1, slot2, slot3) Sorry if this is a simple question but what does the comma do between match and number...
Rayaan General Coding Help 3 6,009 Mar-29-2020, 12:51 PM
    Thread: Variable not updating
Post: Variable not updating

I am making a slot machine and I am not very experienced at coding. I am struggling to get the coins variable to update at all when I you either gain or lose any. I am unsure of whether it is just the...
Rayaan General Coding Help 3 6,009 Mar-29-2020, 01:21 AM
    Thread: Dictionaries help
Post: Dictionaries help

My code gives me back all the names in the dictionary when I want it to only give back the name that corresponds with the pin. Any reason why and how I could fix it is appreciated. Thanks! Here's my ...
Rayaan General Coding Help 5 2,328 Aug-01-2019, 01:37 PM

User Panel Messages

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