50 Days of Python: 5 Questions You Should Try
One year ago, I released a book called "50 Days of Python: A Challenge a Day"?(March 2022). The idea behind the book was to encourage people who want to improve their Python skills to commit to doing one challenge a day for 50 days. If they are not limited by time, they can do it quicker. There is no better way to learn than to tackle challenges. The book extensively covers Python topics at the basic and intermediate levels. If you have started learning Python, you may want to try these challenges. There are more than 80 challenges in this book. In this article, I am going to share with you 5 challenges from the book that I think you should try.
1. Most Repeated Name and Sort by Last Name
On day 30, there are two challenges to complete. These challenges test your skills in sorting strings. You have to know when to use the string sort() method or the?sorted()?function. Can you sort strings of names by the last name? Is there some built-in module that you can import to make your life easier with such a challenge? Flex your Python muscles below:
2. Reading CSV Files
This challenge tests your knowledge of working with CSV files. It is important to know how to work with files if you are a Python developer. CSV files are extensively used to store data. Do you know how to read and extract information from CSV files?. In this challenge, you are asked to extract digits from a text saved as a CSV file. Can you solve this challenge?
3. Password Generator
Think about it: password generators are part of the internet now. Most websites generate a password for a user. This challenge tests your ability to set up a password generator that meets three different conditions. That sounds like a good question to practice conditional statements on.
领英推荐
4. Spelling Checker
On Day 42, you are asked to create a spelling checker. Can you make one using the textblob module? You have to install and import this module to use it. This challenge also tests your ability to work with input data from the user.
5. Create a Database
If someone gave you data and asked you to save it on a database, could you do it? On day 49, you are required to create a database and save movie data. Try this challenge below:
Conclusion
These five challenges are just the tip of the iceberg. There are many other questions in this book to help you level up your Python skills.?The answers to these challenges are in the book. Thank you for reading. Please subscribe?to this newsletter if you are not yet a subscriber. You can also follow me on?LinkedIn.
............................................................................................................................
--
1 年How areyou I am Uzair And i have Fundemental knowledge of Python3.0
BS (Information Technology) UI/UX Designer || Web developer || AI/ML Enthusiast|| Flutter Developer
1 年Thanks for sharing ??
Head Teacher; Ministry of Primary and Mass Education
1 年Waoooo… it’s great. 5 questions from the book are awesome. But it’s difficult for me to get hard copy. Is the soft copy available?
Thank you for sharing! Something to look into.
freelancer
1 年how can i get this