All Questions
1,988
questions
7
votes
5
answers
229
views
Rudimentary black jack game implementation
I started the 100 Days of Code: The Complete Python Bootcamp about a week ago. I finished day 11, and I wrote a rudimentary blackjack game. I'm just looking for some advise on how I did.
Am I showing ...
8
votes
2
answers
1k
views
Beginner level password generator optimization
I've been learning python for a few days now, and I programmed this password generator after today's lesson (following the 100 days of code on udemy course). This code works like it should and gives ...
4
votes
2
answers
146
views
Excel sheet manipulation program
I'm very new to programming, and I'm hoping I can get feedback on the code I wrote - anything is helpful - what to split into different files (right now 1 large file), perhaps a way to break up the <...
7
votes
5
answers
3k
views
Check if license plate number is formatted correctly
I'm just learning Python and am looking for some feedback on some of the code exercises I've completed and do work. In particular, what would make them more Pythonic, or more closely align with ...
11
votes
1
answer
891
views
a not-so optimized, not-so simple brainfuck source-to-source compiler to assembly (fasm) written in python that automatically compile using fasm
first time writing this source-to-source (i think) compiler, not an expert, not a pro, not an advanced person, just a beginner, I don't think this is cross platform.
...
8
votes
1
answer
501
views
Battleship vs. computer with Python
I am still pretty new to Python. After spending time on Code Wars and copying a handful of projects from Al Sweigart's Big Book of Small Python Projects, I wanted to build something completely from ...
2
votes
2
answers
133
views
A game where the player guesses the computer's number
I am fairly new to programming, and I recently finished part of one of my projects, a guessing game.
The part I completed was the game mode where the player guesses the computer's number. I'm quite ...
3
votes
2
answers
296
views
Python - Text-based game about an escape room
This is my first project, a short text-based game.
Does this code follow common best practices?
Here is the code for the class file:
...
5
votes
3
answers
822
views
code format and steps web scraping using beautiful soup
I've done simple web scraping and want to make sure all my steps are correct? Is it considered clean code? Is there a better way to use the multi-page scraping feature?
...
1
vote
1
answer
121
views
Guess the number game with an easy and hard mode
I have started learning to program in Python. I watched a YouTube course for beginners creating the well known "guess the number" game. I have attempted to write an improved version of the ...
3
votes
1
answer
119
views
Collatz conjecture plots (python)
I have tried to improve my code with the suggestions I recieved in my old question about Collatz conjecture
Here is the new code:
...
4
votes
3
answers
668
views
Plotting Collatz conjecture values - Python
I am writing a program to display the behavior or certain seeds when you apply the Collatz conjecture algorithm to them.
I would like to know what I should change and also if there is a way to see ...
1
vote
1
answer
92
views
Blackjack optimization in python (Update)
A little while back, I made a post on blackjack using object oriented programming. I've begun running simulations under it, it runs fairly quickly but I know there is always improvements to be made. I ...
3
votes
2
answers
233
views
Tic-tac-toe OOP Minimax Algorithm
I wrote a module that I intend to use in my next tic-tac-toe project. All it is is a class that stores the boardstate along with some methods/properties. The biggest thing is the minimax alg. As shown ...
2
votes
3
answers
89
views
Arithmetic practice script in a tkinter window
I wrote a script that gives the user a quick arithmetic quiz and results using a tkinter window.
I am very new to programming, and this is also my first time using <...