https://inventwithpython.com/blog/programming-ideas-beginners-big-book-python.html
I've compiled a list of beginner-friendly programming projects, with example implementations in Python. These projects are drawn from my free Python books, but since they only use stdio text, you can implement them in any language.
I got tired of the copy-paste "1001 project" posts that obviously were copied from other posts or generated by AI which included everything from "make a coin flip program" to "make an operating system". I've personally curated this list to be small enough for beginners. The implementations are all usually under 100 or 200 lines of code.
I wrote my first Python code; example for newbie....
What are the basics for learning Python as a beginner ?
How to start python for a complete noob?
List of 87 Programming Ideas for Beginners (with Python implementations)
So taking up suggestions from my "gibberish" post yesterday (thanks to all who replied, not sure why mods removed it), I decided to continue my days-old project of learning Python by actually sitting down to write my first code. Why not? Let's give it a try.
After learning about the # symbol and how it provides "commentary" for the lines of code, I decided to write down my proposed code within the # lines. I asked myself, what do I want the result to be? Here, I decided a friend says either they like my red shirt or doesn't say anything about the shirt if it is a color other than red. And then I asked myself, what are the steps to get there? Here, I said there has to be an action for what the friend will say (the print command determined by a "red or else" function) and also a variable that is fill-in-the-blank for either red or not red (the variable).
This took me several tries and I did encounter a few errors. These were syntax errors relating to the correct variable and function terminology. But otherwise about 10 minutes from beginning to successful end. I'm pretty proud of this. Hopefully this post helps another Python newbie out there.
# This code will have a friend say either one of two things in response to seeing me, depending upon the color of my shirt.
#
# If my shirt is red, my friend will say hello and say he likes my shirt.
#
# But if my shirt is not red, my friend will just say hello.
#
# My code needs these items: A fill-in-the-blank for the color of my shirt, red or otherwise.
# My code also needs some kind of function which determines what my friend will say depending upon the color of my shirt.
my_shirt_color_today = ["red"]
if my_shirt_color_today == ["red"]:
print("Hello friend, I like the color of your shirt! Red is my favorite")
else:
print("Hello friend! Why didn't you wear your red shirt today?")Hi there! I’m interested in learning Python and would love some guidance on how to get started. As a beginner, I’m looking for recommendations on the best resources, tutorials, and practices to follow. What are the essential concepts I should focus on initially, and are there any interactive platforms or communities that can help me along the way? Any tips or advice on how to effectively learn and practice Python would be greatly appreciated. Thank you!
Hello guys, I have zero experience in programming and I've been watching some videos to learn python. I came across the word tutorial hell, and how noobs like me fall into it and give up programming. Since you guys are already experienced in coding how would you suggest I should learn python the correct way.
Thank you.