r/learnpython • • Dec 03 '20

Python Projects for Beginners

Any sites or books for doing projects for python beginners?

372 Upvotes

76 comments sorted by

View all comments

543

u/BeginnerProjectsBot 🐍🤖 Dec 03 '20 edited Feb 13 '25

1. Create a bot to reply to "what are some beginner projects" questions on r/learnpython, using PRAW.

Other than that, here are some beginner project ideas:

Good luck!

edit. thanks for 5 upvotes!

edit2. omg 10 upvotes!!!! Thank you!!

edit3. 50 upvotes??? 😲😲😲 Can we make it to 100?

edit4. 100 UPVOTES?????? I CAN DIE NOW

edit5. Thank you for the Wholesome, kind stranger!

edit6. Thank you for the Silver, kind stranger!

edit7. Thank you for the Hugz, kind stranger!

edit8. Thank you for the Bravo!, kind stranger!

edit9. Thank you for the Helpful, kind stranger!

Downvote me if the post wasn't a question about examples of beginner projects. Thank you.

7

u/ProdigiousPangolin Dec 03 '20

u/zarnackreddit I don't know where your comment went. But let the haters hate. I'm a newb at programming so I wrote this for you.

list=[1, 3, 50, 6, 20, 30]

list.sort()

print(list[1:5])

print(list[1]+list[2]+list[3]+list[4])

2

u/htepO Ultra noob Dec 04 '20

The person you're replying to mentioned some sort of "high score" which, if I'm reading it right, means they need it done in the least number of lines.

Maybe something like:

big_four = sorted([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], reverse=True)[:4]
print(f"The sum of {big_four} is {sum(big_four)}")