About 28,000 results
Open links in new tab
  1. python - Flappy Bird game clone for a beginners' programming …

    Aug 30, 2014 · The behaviour of the pipes is split into several pieces: (i) the PipePair class; (ii) the motion, drawing, and destruction logic in main; (iii) the scoring logic in main; (iv) the factory …

  2. OOP bank account program in Python 3 - Code Review Stack …

    Mar 7, 2019 · Docstrings are simply strings that appear as the first statement of a function, class, and/or module. While they can be triple-quoted or single-quoted strings, and they can use …

  3. Pokemon Turn Based battle (Python) - Code Review Stack Exchange

    Apr 10, 2019 · And it also means you can use one of the many Python unit testing frameworks to check your code. Structure. You have one class, and you don't really use it. The class is …

  4. Shopping list using Python 3 - Code Review Stack Exchange

    Jun 18, 2021 · PEP8 - Style Guide for Python Code. As to pick the lowest hanging fruits. Consistency is a key part of programming, as it greatly increases readability. It also tells a bit …

  5. Newest 'python' Questions - Code Review Stack Exchange

    Feb 7, 2013 · Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability. Use the python tag for all Python related …

  6. python - Bank account class - Code Review Stack Exchange

    Sep 19, 2019 · But I didn't see any for your BankAccount class, or for the module. You should include these as well. Bank Structure. You take input within the deposit and withdraw methods …

  7. python - Simple budget program - Code Review Stack Exchange

    Aug 20, 2017 · We could however move the definition of the class attributes to reset_program and do the following: def __init__(): self.reset_program() The second option above only works …

  8. python - Simplex method (linear programming) implementation

    Nov 15, 2018 · The up-to-date code, along some documentation, can be found here. We've implemented a version of the Simplex method for solving linear programming problems. The …

  9. python - Class template for beginners - Code Review Stack Exchange

    Dec 8, 2016 · Instead of managing the class hierarchy yourself, you should rely on Python's standardized way of doing it: the MRO. You can reach every class in the hierarchy using it …

  10. Hangman game implemented in Python - Code Review Stack …

    Aug 7, 2020 · Stack Exchange Network. Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for …

Refresh