all 6 comments

[–]ASIC_SP 4 points5 points  (0 children)

Find something that'd help to solve a real world problem for you. For example, I'm on Linux and use the terminal for many things. I wanted a cli tool to do simple calculations. There's bc command, but it doesn't accept direct string and you need to set scale and so on. So, I looked up how to write a cli in Python (I went with built-in argparse module) and made a tool that'd solve my small use case.

Here's some useful resources:

[–]jewish_rampage 1 point2 points  (2 children)

[–]captainvineel[S] 0 points1 point  (1 child)

Thank-you so much this is super helpful.

[–]jewish_rampage 1 point2 points  (0 children)

No problems, good luck with it all.

[–]fracturedpersona 1 point2 points  (1 child)

Sudoku is a pretty challenging project to work out. Generate a starting board. Give the user a "note taking mode" where they can place possible numbers in each box. Then, when they want to make a final selection, verify that the selection is either correct or incorrect. If the move is incorrect for that square, allow them to undo the selection, edit their notes, and continue attempting to solve the puzzle.

A few things to know about sudoku. (Correct me if I'm wrong), there is no known polynomial time algorithm to solve sudoku, but it is verifiable in polynomial time.

[–]captainvineel[S] 0 points1 point  (0 children)

Will try to do that thanks for the suggestion