5
votes
1answer
373 views

Hints to make Sudoku solver more Pythonic

As you will see, I am not very familiar with Python and NumPy but want to learn it. The following code is a very basic Sudoku solver which works fine for simple examples. Although it runs, I still ...
5
votes
1answer
49 views

Determining the least-accurately known physical constants

So, I thought I'd do this using scipy.constants: ...
4
votes
1answer
63 views

Organization of complex empirical equations

I am working on coding up a set of models that are based on empirical models. These models tend to be quite complicated. In some cases, the logic used by the equations makes it impossible to compute ...
3
votes
2answers
78 views

Connect 4 game for AI agents

This Connect 4 game will be used for implementing game-playing AI. Sample players are supplied. One takes user input, and the other plays randomly. Right now it's set for a human player to play ...
2
votes
0answers
3k views

Reading columns and rows in a .csv file

I have some data in a .csv file, which looks roughly like this: ...
1
vote
1answer
42 views

Hints to make Sukoku solver more Pythonic (II)

I tried to implement as many changes suggested as possible as well as expanding the code base according to the suggested link. The original question can be found here. It does solve Sudokus gives ...
0
votes
1answer
373 views

Fastest way for working with itertools.combinations

I need to speed up the function below: ...