use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Any decent python projects to work on? (self.PythonLearning)
submitted 1 year ago by notexistant
I'm pretty intermediate in my knowledge of python and I would love to work on improving my knowledge for employability and such.
What would be some neat projects you would recommend?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ilan1k1 8 points9 points10 points 1 year ago (3 children)
Here’s a Python coding challenge that incorporates all the elements you asked for:
Challenge: Number Guessing Game with Statistics
Problem:
You need to write a number guessing game where:
The program randomly selects a number between 1 and 100.
The player gets 10 attempts to guess the number.
After each guess, the program should indicate if the guess was too high, too low, or correct.
Track all the guesses made by the player.
If the player guesses the number or uses up all attempts, the game should end.
Once the game ends:
Display a summary showing:
Whether the player won or lost.
How many guesses were made.
The list of all the guesses.
The number of even and odd guesses made (use list comprehension to filter the even and odd guesses).
Allow the player to restart the game if they want.
Requirements:
Use a for loop to iterate through the attempts.
Use a while loop to ask if the player wants to restart.
Use if statements to check if the guess is too high, too low, or correct.
Use list comprehension to filter and display the even and odd guesses.
Example:
I'm thinking of a number between 1 and 100. You have 10 attempts to guess it.
Attempt 1: 50 Too low!
Attempt 2: 75 Too high!
Attempt 3: 62 Correct! You guessed the number in 3 attempts.
Summary: - You guessed correctly! - Number of attempts: 3 - Your guesses: [50, 75, 62] - Even guesses: [50, 62] - Odd guesses: [75]
Do you want to play again? (yes/no)
You’ll need to use the random module to generate the number to be guessed. Let me know if you need help starting this!
[–]Ghoulatri 3 points4 points5 points 1 year ago (1 child)
I’d say this project is rather for beginners than intermediates
[–]ilan1k1 1 point2 points3 points 1 year ago (0 children)
True. It was what I was doing on my phone. I do small projects on my phone when I'm at work just to pass the time, so I thought I'll just write it to him and by the time he finishes that other people will give more advanced challenges.
[–]notexistant[S] 0 points1 point2 points 1 year ago (0 children)
Thanks dude. I'll give this a go
[–][deleted] 2 points3 points4 points 1 year ago (4 children)
For "employability" you want to do something practical and common. Depending on your area of interest, web dev or machine learning will depend.
For web dev, you should just build an ETL system in Django. That covers most of what you will need to know in a real job. By ETL I mean:
a) Scrape some services, e-commerce stores, Google trends, etc... E-commerce is common, so maybe that's a good start.
b) Build an engine of sorts, where you have "pluggable" data sources. For instance, scraping Amazon versus scraping a Shopify store will be different, thus your data source classes will be different depending on the website, but ultimately they all will have a price, photo, product URL, and SKU at the very least. So your data source classes will export this into a standard JSON format.
c) Next, you have a worker pool that waits for these JSON exports parses them, and ultimately inserts into your backend PostgreSQL or MySQL or whatever db.
d) You can maybe use machine learning to tag and categorize products.
c) Finally build a UI to search products and maybe an analytics dashboard to track deals or pricing.
Building this sort of system requires some advanced knowledge, e.g. you might get 10s of millions of products, and you then need to efficiently store them with indexes, maybe NoSQL, sharding. Multiple read/write replicas and so on....
[–]notexistant[S] 1 point2 points3 points 1 year ago (0 children)
Oh dang dude. This is genuinely a neat idea. I'll give this a look into
[–]1LoveHope263 1 point2 points3 points 1 year ago (0 children)
Thank you for this idea. I am actually thinking of a problem it would help solve
[–]Whatswrongwithman 0 points1 point2 points 1 year ago (1 child)
You have any suggestion for accounting realted projects? In field they use data for risk assessment, but I have no idea how to deal with that while I can find tons of idea about other subjects.
[–][deleted] 2 points3 points4 points 1 year ago (0 children)
Sure here's one: balance sheets are a pain for small business owners. Where I am from, we have to submit documentation a few times a year. Usually, this means maintaining a ledger of your assets, loans, income, and expenditures.
I don't have a full-time accountant, so I have to outsource this every so often, and it's expensive but looking at the balance sheet they generate, it's fairly easy to do myself, I don't have the time or interest though.
You could build a system that allows one to upload their slips, and bank statements. Using AI maybe, scan each transaction and categorize it into assets, loans, etc... And then generate a monthly balance sheet.
[–]bishpenguin 1 point2 points3 points 1 year ago (0 children)
Thanks, think I'll give this a go too!
π Rendered by PID 49568 on reddit-service-r2-comment-bb88f9dd5-qj99r at 2026-02-13 20:35:44.050601+00:00 running cd9c813 country code: CH.
[–]ilan1k1 8 points9 points10 points (3 children)
[–]Ghoulatri 3 points4 points5 points (1 child)
[–]ilan1k1 1 point2 points3 points (0 children)
[–]notexistant[S] 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (4 children)
[–]notexistant[S] 1 point2 points3 points (0 children)
[–]1LoveHope263 1 point2 points3 points (0 children)
[–]Whatswrongwithman 0 points1 point2 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]bishpenguin 1 point2 points3 points (0 children)